[FFmpeg-devel] [PATCH] fix stream copy sample_aspect_ratio
Michael Niedermayer
michaelni
Sun Sep 21 01:03:13 CEST 2008
On Sat, Sep 20, 2008 at 09:28:16PM -0000, Wolfram Gloger wrote:
> > iam ok with this if it has \n after the =3D
>
> Here you go...
>
> Regards,
> Wolfram.
>
> --- trunk/ffmpeg.c Fri Sep 19 10:46:58 2008
> +++ ffmpeg-wg/ffmpeg.c Sat Sep 20 23:26:34 2008
> @@ -3021,7 +3021,8 @@
> if (video_stream_copy) {
> st->stream_copy = 1;
> video_enc->codec_type = CODEC_TYPE_VIDEO;
> - st->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
> + video_enc->sample_aspect_ratio = st->sample_aspect_ratio =
> + av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
i meant
+ video_enc->sample_aspect_ratio =
st->sample_aspect_ratio = av_d2q(frame_aspect_ratio*frame_height/frame_width, 255);
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080921/fb3dd944/attachment.pgp>
More information about the ffmpeg-devel
mailing list