summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2002-10-19 18:37:03 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2002-10-19 18:37:03 +0000
commit45397cd1635a825156311a3f0b5302885d210bea (patch)
tree81d7b3a53a530980d7f76e8d15cee4c26bf4afc3 /src
parentb4318842289b4f57e34d08da6a084abc5b8d61d1 (diff)
downloadxine-lib-45397cd1635a825156311a3f0b5302885d210bea.tar.gz
xine-lib-45397cd1635a825156311a3f0b5302885d210bea.tar.bz2
send start header first
CVS patchset: 2860 CVS date: 2002/10/19 18:37:03
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_avi.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index c632296be..68d70c04f 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_avi.c,v 1.118 2002/10/19 17:42:52 guenter Exp $
+ * $Id: demux_avi.c,v 1.119 2002/10/19 18:37:03 guenter Exp $
*
* demultiplexer for avi streams
*
@@ -1262,6 +1262,15 @@ static void demux_avi_send_headers (demux_plugin_t *this_gen) {
this->stream->stream_info[XINE_STREAM_INFO_HAS_AUDIO] = !this->no_audio;
/*
+ * send start buffers
+ */
+ if (!this->thread_running) {
+ xine_demux_control_start (this->stream);
+ } else {
+ xine_demux_flush_engine (this->stream);
+ }
+
+ /*
* send header buffers
*/
@@ -1474,15 +1483,6 @@ static int demux_avi_start (demux_plugin_t *this_gen,
}
}
- /*
- * send start buffers
- */
- if ( !this->thread_running && (this->status == DEMUX_OK) ) {
- xine_demux_control_start (this->stream);
- } else {
- xine_demux_flush_engine (this->stream);
- }
-
if (this->status == DEMUX_OK)
xine_demux_control_newpts (this->stream, video_pts, BUF_FLAG_SEEK);