Streaming to fifo:/ MRL: Proper cleanup at end of data
Rodney McCranie <[email protected]> Wed, 23 Jan 2013 15:47:32 -0500
| Newsgroups | gmane.comp.video.xine.user |
|---|---|
| Message-ID | <CAP0v1ZZXpQS9NX90zkAMy7pDNDgeu1BueCV0jRVbM5-5RZU55Q@mail.gmail.com> |
--===============8858693053482160379== Content-Type: multipart/alternative; boundary=20cf301d3dc6afed8a04d3facd9e --20cf301d3dc6afed8a04d3facd9e Content-Type: text/plain; charset=ISO-8859-1 I hope this is the correct forum for this question... I'm writing a video player using the xine library that streams data from a file to xine using a fifo. All works well with setup/startup, but when I have sent the last block of data from a file, xine appears to hang up at something like 3 frames from the end with that frame still displayed (as though the engine is waiting for more data). In comparing my player to the muxine example player, when it reaches the EOF, the lib seems to "clean up" correctly... flushing all frames and sending XINE_EVENT_UI_PLAYBACK_FINISHED immediately. In my player there is considerable delay before I do eventually receive XINE_EVENT_UI_PLAYBACK_FINISHED. I have tried closing the fifo from the write end, but this does not seem to make any behavioral difference. I would appreciate any help on getting xine-lib to recognize the end of data on a fifo. --20cf301d3dc6afed8a04d3facd9e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I hope this is the correct forum for this question...<br><br>I'm writin= g a video player using the xine library that streams data from a file to xi= ne using a fifo.=A0 All works well with setup/startup, but when I have sent= the last block of data from a file, xine appears to hang up at something l= ike 3 frames from the end with that frame still displayed (as though the en= gine is waiting for more data).=A0 <br> <br>In comparing my player to the muxine example player, when it reaches th= e EOF, the lib seems to "clean up" correctly... flushing all fram= es and sending XINE_EVENT_UI_PLAYBACK_FINISHED immediately.<br><br>In my pl= ayer there is considerable delay before I do eventually receive XINE_EVENT_= UI_PLAYBACK_FINISHED.<br> <br>I have tried closing the fifo from the write end, but this does not see= m to make any behavioral difference.<br><br>I would appreciate any help on = getting xine-lib to recognize the end of data on a fifo.<br> --20cf301d3dc6afed8a04d3facd9e-- --===============8858693053482160379== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d --===============8858693053482160379== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ xine-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xine-user --===============8858693053482160379==--