Re: mplayerplug-in leaving zombies

Kevin DeKorte <[email protected]>
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forest Bond wrote:

>> The main reason is this. When a media file is over in mplayer "-idle"
>> mode. Mplayer doesn't say that the file is over. It just quits sending
>> output. I've asked them to add this feature or even to add a property
>> that can be queried to see if the file is complete. But so far no good.
> 
> There is such a property:
> 
> --------------------------------------------------------------------------------
> get_property filename
> ANS_filename=test.mpg
> --------------------------------------------------------------------------------
> 
> But after the file has finished playing:
> 
> --------------------------------------------------------------------------------
> get_property filename
> 
> --------------------------------------------------------------------------------

Hum, I'll have to look into that... However going with that method will
require a massive reorganization of the code to make it work.

>> Have you tried "quit()" instead of "Stop()"? They actually do different
>> things.
> 
> Yes, I believe I tried it.  Both require a delay that is much too long for my
> application.  Using the loadfile command to mplayer reduces that delay
> significantly (a power of ten or more, rough estimate).
> 
> What do quit and Stop do differently?

It depends, for streaming media they do the same thing, the tell mplayer
to 'quit'. I think tv:// is considered streaming in your case. And this
should be immediate, mplayer should not hang or become a zombie. If it
is you may want to try compiling the SVN version of mplayer.

For non-streaming media quit tells mplayer to quit, stop tells mplayer
to seek to position 0 and pause.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHA6ky6w2kMH0L1dERAu0lAKCAJjMdtP0OTc1lqJ0mTjiMacgmBACfWnZK
Pt8TaLVCiRUXLX+18TuLsA8=
=Y+8i
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.