[FFmpeg-devel] [PATCH] dvbsub fix transcoding

Anshul Maheshwari anshul.ffmpeg at gmail.com
Thu May 22 07:38:24 CEST 2014


Fix Ticket #2024
---
 ffmpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 5299f0e..caf5181 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -790,7 +790,7 @@ static void do_subtitle_out(AVFormatContext *s,
        packet to clear them */
     /* XXX: signal it in the codec context ? */
     if (enc->codec_id == AV_CODEC_ID_DVB_SUBTITLE)
-        nb = 2;
+        nb = 1;
     else
         nb = 1;
 
-- 
1.8.1.4



More information about the ffmpeg-devel mailing list