Menu

Problems with Processor

user
2005-02-04
2013-05-09
  • Nobody/Anonymous

    I can create a player in the following way:

    try {
               player = Manager.createPlayer(ds);
    } catch (NoPlayerException e4) {
                 // TODO Auto-generated catch block
                 e4.printStackTrace();
    }

    player.realize();
    blockingRealize();

    player.start();

    put whren I do the same with a processor it doesn't work:

    try {
                player = Manager.createProcessor(ds);
           } catch (NoPlayerException e4) {
                 // TODO Auto-generated catch block
                e4.printStackTrace();
          }

        player.realize();
           blockingRealize();

         player.start()

    The processor starts but it doesn't read from the file nor is there any output. Does someone has any suggestions?

    And in both variants when I do any call on the player/processor I get a OpenError: Not initialized (eventough if the player works). Has anyone any idea?

    Regards, Robert

     
    • Nobody/Anonymous

      I think you have to call player.setContentType(null); before realize() to make it work.

       
    • Nobody/Anonymous

      Thanks for your help.

      Now it works.
      But the call was player.setContentDescriptor(null);

      Regards, Robert

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.