summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_qt.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-07 04:15:45 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-06-07 04:15:45 +0000
commitb70b50fb22d4a78b0a67d517c9da700a705a5921 (patch)
tree75e619f7b04e6a8510be22240b3fbf154db9fb90 /src/demuxers/demux_qt.c
parent15891af86f77397a56b6a2b6e28cac2cf8ca4713 (diff)
downloadxine-lib-b70b50fb22d4a78b0a67d517c9da700a705a5921.tar.gz
xine-lib-b70b50fb22d4a78b0a67d517c9da700a705a5921.tar.bz2
codec reporting api
CVS patchset: 2030 CVS date: 2002/06/07 04:15:45
Diffstat (limited to 'src/demuxers/demux_qt.c')
-rw-r--r--src/demuxers/demux_qt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c
index 7adb9a24a..7c7578393 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.47 2002/06/07 02:48:31 tmmm Exp $
+ * $Id: demux_qt.c,v 1.48 2002/06/07 04:15:46 miguelfreitas Exp $
*
*/
@@ -1253,8 +1253,14 @@ static int demux_qt_start (demux_plugin_t *this_gen,
this->bih.biCompression = this->qt->video_codec;
this->qt->video_type = fourcc_to_buf_video(this->bih.biCompression);
+
+ if( !this->qt->video_type )
+ xine_report_codec( this->xine, XINE_CODEC_VIDEO, this->bih.biCompression, 0, 0);
this->qt->audio_type = formattag_to_buf_audio(this->qt->audio_codec);
+
+ if( !this->qt->audio_type )
+ xine_report_codec( this->xine, XINE_CODEC_AUDIO, this->qt->audio_codec, 0, 0);
/* print vital stats */
xine_log (this->xine, XINE_LOG_FORMAT,