summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-08 01:02:27 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-01-08 01:02:27 +0000
commit89b2bf76f80eb05badeb340e2a00a8fbb6e17db3 (patch)
treedfd705e620522f0f22fa957ac403ee2923420274 /src/demuxers/demux_qt.c
parent183830cbd2d23d2e616b617b1f5c7ab6867882b1 (diff)
downloadxine-lib-89b2bf76f80eb05badeb340e2a00a8fbb6e17db3.tar.gz
xine-lib-89b2bf76f80eb05badeb340e2a00a8fbb6e17db3.tar.bz2
fixes/cleanups of the handled/unhandled codecs
for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r--src/demuxers/demux_qt.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 48d905c21..86e15cf6a 100644
--- a/src/demuxers/demux_qt.c
+++ b/src/demuxers/demux_qt.c
@@ -30,7 +30,7 @@
* build_frame_table
* free_qt_info
*
- * $Id: demux_qt.c,v 1.138 2003/01/04 14:48:12 miguelfreitas Exp $
+ * $Id: demux_qt.c,v 1.139 2003/01/08 01:02:28 miguelfreitas Exp $
*
*/
@@ -2041,18 +2041,15 @@ static void demux_qt_send_headers(demux_plugin_t *this_gen) {
*/
if( this->qt->video_type == BUF_VIDEO_MSMPEG4_V1 )
this->qt->video_type = BUF_VIDEO_MPEG4;
-#if 0
+
if( !this->qt->video_type && this->qt->video_codec )
- xine_report_codec( this->stream, XINE_CODEC_VIDEO, this->bih.biCompression, 0, 0);
-#endif
+ this->qt->video_type = BUF_VIDEO_UNKNOWN;
this->qt->audio_type = formattag_to_buf_audio(this->qt->audio_codec);
-#if 0
if( !this->qt->audio_type && this->qt->audio_codec )
- xine_report_codec( this->stream, XINE_CODEC_AUDIO, this->qt->audio_codec, 0, 0);
-#endif
-
+ this->qt->audio_type = BUF_AUDIO_UNKNOWN;
+
/* load stream information */
this->stream->stream_info[XINE_STREAM_INFO_HAS_VIDEO] =
(this->qt->video_type) ? 1 : 0;