Mercurial > libavformat.hg
comparison mtv.c @ 5144:65f73f11261c libavformat
Mark video from .mtv files correctly as upside-down.
author | reimar |
---|---|
date | Tue, 25 Aug 2009 07:47:34 +0000 |
parents | 44a0fab134a9 |
children | 9d7f3a448c3c |
comparison
equal
deleted
inserted
replaced
5143:f25bc340370b | 5144:65f73f11261c |
---|---|
100 st->codec->codec_tag = MKTAG('R', 'G', 'B', mtv->img_bpp); | 100 st->codec->codec_tag = MKTAG('R', 'G', 'B', mtv->img_bpp); |
101 st->codec->width = mtv->img_width; | 101 st->codec->width = mtv->img_width; |
102 st->codec->height = mtv->img_height; | 102 st->codec->height = mtv->img_height; |
103 st->codec->bits_per_coded_sample = mtv->img_bpp; | 103 st->codec->bits_per_coded_sample = mtv->img_bpp; |
104 st->codec->sample_rate = mtv->video_fps; | 104 st->codec->sample_rate = mtv->video_fps; |
105 st->codec->extradata = av_strdup("BottomUp"); | |
106 st->codec->extradata_size = 9; | |
105 | 107 |
106 // audio - mp3 | 108 // audio - mp3 |
107 | 109 |
108 st = av_new_stream(s, AUDIO_SID); | 110 st = av_new_stream(s, AUDIO_SID); |
109 if(!st) | 111 if(!st) |