diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2012-04-26 15:31:41 -0400 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2012-04-27 16:53:28 +0200 |
commit | 35cf2e84f25b8c4de306d0b184c32c943a8e07ea (patch) | |
tree | a8e87f928e04a3429b41c3f2078e9bf1d7c41ffa | |
parent | f0a411235a62f41acaaa74cebb8cab8662c4046c (diff) | |
download | gst-libav-35cf2e84f25b8c4de306d0b184c32c943a8e07ea.tar.gz |
codecmap: correctly set height in AVCodecContext
https://bugzilla.gnome.org/show_bug.cgi?id=674899
-rw-r--r-- | ext/ffmpeg/gstffmpegcodecmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegcodecmap.c b/ext/ffmpeg/gstffmpegcodecmap.c index 409d919..a26be03 100644 --- a/ext/ffmpeg/gstffmpegcodecmap.c +++ b/ext/ffmpeg/gstffmpegcodecmap.c @@ -2300,7 +2300,7 @@ gst_ffmpeg_videoinfo_to_context (GstVideoInfo * info, AVCodecContext * context) gint i, bpp = 0; context->width = GST_VIDEO_INFO_WIDTH (info); - context->height = GST_VIDEO_INFO_WIDTH (info); + context->height = GST_VIDEO_INFO_HEIGHT (info); for (i = 0; i < GST_VIDEO_INFO_N_COMPONENTS (info); i++) bpp += GST_VIDEO_INFO_COMP_DEPTH (info, i); context->bits_per_coded_sample = bpp; |