Skip to content

Commit 1f9ebe0

Browse files
committed
codec: videotoolbox: remove sw decoder fallback for mp4v
commit 7a2bf498d545d500d30636970fa930eb54de5569 insert packetizer for xvid mpeg4 video, so now hw decoder can decode xvid encoded video without any playback issues. (cherry picked from commit a9343f6)
1 parent b37da99 commit 1f9ebe0

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/codec/videotoolbox.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,11 +1024,6 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
10241024

10251025
case VLC_CODEC_MP4V:
10261026
{
1027-
if (p_dec->fmt_in.i_original_fourcc == VLC_FOURCC( 'X','V','I','D' )) {
1028-
msg_Warn(p_dec, "XVID decoding not implemented, fallback on software");
1029-
return -1;
1030-
}
1031-
10321027
msg_Dbg(p_dec, "Will decode MP4V with original FourCC '%4.4s'", (char *)&p_dec->fmt_in.i_original_fourcc);
10331028
return kCMVideoCodecType_MPEG4Video;
10341029
}

0 commit comments

Comments
 (0)