This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 42029a8836 libavcodec/mediacodec: MythTV Fix for incorrect stride with 
amazon fire stick
42029a8836 is described below

commit 42029a88361574f4096d89e8da770055ac1f18ce
Author:     Peter Bennett <[email protected]>
AuthorDate: Sun Oct 14 18:37:04 2018 -0400
Commit:     Zhao Zhili <[email protected]>
CommitDate: Fri Mar 20 04:40:06 2026 +0000

    libavcodec/mediacodec: MythTV Fix for incorrect stride with amazon fire 
stick
    
    With 1080i MPEG2 video, amazon fire stick uses a different stride from what
    is returned.
---
 libavcodec/mediacodecdec_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/mediacodecdec_common.c 
b/libavcodec/mediacodecdec_common.c
index 9b91c8edf5..9a627c06de 100644
--- a/libavcodec/mediacodecdec_common.c
+++ b/libavcodec/mediacodecdec_common.c
@@ -583,6 +583,8 @@ static int mediacodec_dec_parse_video_format(AVCodecContext 
*avctx, MediaCodecDe
     } else if (strstr(s->codec_name, "OMX.SEC.avc.dec")) {
         s->slice_height = avctx->height;
         s->stride = avctx->width;
+    } else if (strstr(s->codec_name, "OMX.MTK.VIDEO.DECODER.MPEG2")) {
+        s->slice_height = s->height;
     } else if (s->slice_height == 0) {
         s->slice_height = s->height;
     }

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to