All pastes #710515 Raw Edit

Someone

public text v1 · immutable
#710515 ·published 2007-09-25 16:24 UTC
rendered paste body
diff -r bd2d7c2d1fe6 src/xine-engine/xine.c
--- a/src/xine-engine/xine.c    Wed Sep 19 19:44:53 2007 +0100
+++ b/src/xine-engine/xine.c    Tue Sep 25 18:24:03 2007 +0200
@@ -1194,7 +1194,9 @@ static int open_internal (xine_stream_t

   stream->demux_plugin->send_headers (stream->demux_plugin);

-  if (stream->demux_plugin->get_status(stream->demux_plugin) != DEMUX_OK) {
+  if (stream->demux_plugin->get_status(stream->demux_plugin) == DEMUX_FINISHED) {
+    xine_log (stream->xine, XINE_LOG_MSG, _("xine: demuxer is already done. that was fast!\n"));
+  } else if (stream->demux_plugin->get_status(stream->demux_plugin) != DEMUX_OK) {
     xine_log (stream->xine, XINE_LOG_MSG, _("xine: demuxer failed to start\n"));

     _x_free_demux_plugin(stream, stream->demux_plugin);