[SCM] libav/experimental: Mark video from .mtv files correctly as upside-down.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:50:23 UTC 2013


The following commit has been merged in the experimental branch:
commit 49056037a80009b60b5cf9fb43d9c12f873b4fcf
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Tue Aug 25 07:47:34 2009 +0000

    Mark video from .mtv files correctly as upside-down.
    
    Originally committed as revision 19698 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 1ebeaee..42aa91f 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -102,6 +102,8 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
     st->codec->height          = mtv->img_height;
     st->codec->bits_per_coded_sample = mtv->img_bpp;
     st->codec->sample_rate     = mtv->video_fps;
+    st->codec->extradata       = av_strdup("BottomUp");
+    st->codec->extradata_size  = 9;
 
     // audio - mp3
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list