changeset 5144:65f73f11261c libavformat

Mark video from .mtv files correctly as upside-down.
author reimar
date Tue, 25 Aug 2009 07:47:34 +0000
parents f25bc340370b
children d65f5e784b3b
files mtv.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mtv.c	Mon Aug 24 21:42:25 2009 +0000
+++ b/mtv.c	Tue Aug 25 07:47:34 2009 +0000
@@ -102,6 +102,8 @@
     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