Permalink
Browse files

From Terry Barnaby: fix the channel change issue for XvMC VLD users when

they are using TS streams.


git-svn-id: http://svn.mythtv.org/svn/branches/release-0-18-fixes@6398 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
1 parent 9b32d40 commit 17fa658a2abfe56d12af6d1c32b1ddf068b2fec9 Jarod Wilson committed May 14, 2005
Showing with 8 additions and 1 deletion.
  1. +5 −1 mythtv/libs/libavcodec/parser.c
  2. +3 −0 mythtv/libs/libavformat/utils.c
@@ -811,7 +811,11 @@ static int ac3_parse(AVCodecParserContext *s1,
#endif
AVCodecParser mpegvideo_parser = {
- { CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO },
+ { CODEC_ID_MPEG1VIDEO,
+ CODEC_ID_MPEG2VIDEO,
+ CODEC_ID_MPEG2VIDEO_XVMC,
+ CODEC_ID_MPEG2VIDEO_XVMC_VLD,
+ },
sizeof(ParseContext1),
NULL,
mpegvideo_parse,
@@ -900,6 +900,9 @@ static int av_read_frame_internal(AVFormatContext *s, AVPacket *pkt)
if (!st->parser) {
/* no parser available : just output the raw packets */
st->need_parsing = 0;
+ av_log(s, AV_LOG_ERROR,
+ "Parser not found for Codec Id: %d !\n",
+ st->codec.codec_id);
}
}
}

0 comments on commit 17fa658

Please sign in to comment.