[FFmpeg-cvslog] lavf/segment: set EXT-X-VERSION to 3 rather than to 4

Stefano Sabatini git at videolan.org
Sun Sep 2 10:49:11 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Sep  1 17:13:26 2012 +0200| [f7eec8956d592c745f1ac6897ccb48fb10117a12] | committer: Stefano Sabatini

lavf/segment: set EXT-X-VERSION to 3 rather than to 4

There is nothing we use of the latest version, downgrade version number
to increase decoding support.

Based on this comment by vel2000:
http://ffmpeg.org/trac/ffmpeg/ticket/1642#comment:17

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f7eec8956d592c745f1ac6897ccb48fb10117a12
---

 libavformat/segment.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/segment.c b/libavformat/segment.c
index e148dc0..1dda310 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -127,7 +127,7 @@ static int segment_list_open(AVFormatContext *s)
 
     if (seg->list_type == LIST_TYPE_M3U8) {
         avio_printf(seg->list_pb, "#EXTM3U\n");
-        avio_printf(seg->list_pb, "#EXT-X-VERSION:4\n");
+        avio_printf(seg->list_pb, "#EXT-X-VERSION:3\n");
     }
 
     return ret;



More information about the ffmpeg-cvslog mailing list