first go through the h264 packetizer that will convert avc1 into a
proper annexe B stream (untested).
VIDEO_ES, "h264" },
{ VLC_FOURCC('H','2','6','4'), CODEC_ID_H264,
VIDEO_ES, "h264" },
+ /* avc1: special case h264 */
+ { VLC_FOURCC('a','v','c','1'), CODEC_ID_H264,
+ VIDEO_ES, "h264" },
/* H263 and H263i */
/* H263(+) is also known as Real Video 1.0 */
p_sys->p_context->sub_id );
}
}
- else
+ else if( p_dec->fmt_in.i_codec != VLC_FOURCC( 'a', 'v', 'c', '1' ) )
{
p_sys->p_context->extradata_size = i_size;
p_sys->p_context->extradata =