diff options
-rw-r--r-- | src/libffmpeg/xine_decoder.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libffmpeg/xine_decoder.c b/src/libffmpeg/xine_decoder.c index 01cf3527f..695635e6f 100644 --- a/src/libffmpeg/xine_decoder.c +++ b/src/libffmpeg/xine_decoder.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: xine_decoder.c,v 1.83 2002/12/23 21:26:12 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.84 2003/01/07 16:36:52 hadess Exp $ * * xine decoder plugin using ffmpeg * @@ -143,6 +143,8 @@ static void init_video_codec (ff_video_decoder_t *this, xine_bmiheader *bih) { free(this->context); return; } + + this->stream->stream_info[XINE_STREAM_INFO_VIDEO_HANDLED] = 1; this->decoder_ok = 1; this->stream->video_out->open (this->stream->video_out, this->stream); @@ -831,6 +833,8 @@ static void ff_audio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) return; } + this->stream->stream_info[XINE_STREAM_INFO_AUDIO_HANDLED] = 1; + this->decoder_ok = 1; return; |