mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 05:28:48 +00:00
ext/mpeg2dec/gstmpeg2dec.c: Last change introduced a regression that made mpeg2dec handle some 4:2:2 videos as 4:4:4....
Original commit message from CVS: * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format): Last change introduced a regression that made mpeg2dec handle some 4:2:2 videos as 4:4:4. Fixes bug #562086.
This commit is contained in:
parent
bc794219f3
commit
81599fc784
3 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-12-01 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_negotiate_format):
|
||||
Last change introduced a regression that made mpeg2dec handle
|
||||
some 4:2:2 videos as 4:4:4. Fixes bug #562086.
|
||||
|
||||
2008-11-29 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Cygwin Ports maintainer
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 03699ffc577ee8a42541862f11a6d0d0dff34f41
|
||||
Subproject commit 24963a683c185e1405b6f0aad37d95064cced93b
|
|
@ -549,8 +549,10 @@ gst_mpeg2dec_negotiate_format (GstMpeg2dec * mpeg2dec)
|
|||
mpeg2dec->v_offs =
|
||||
I420_V_OFFSET (mpeg2dec->decoded_width, mpeg2dec->decoded_height);
|
||||
|
||||
} else if (sequence->width == sequence->chroma_width &&
|
||||
sequence->height != sequence->chroma_height) {
|
||||
} else if ((sequence->width == sequence->chroma_width &&
|
||||
sequence->height != sequence->chroma_height) ||
|
||||
(sequence->width != sequence->chroma_width &&
|
||||
sequence->height == sequence->chroma_height)) {
|
||||
gint halfsize;
|
||||
|
||||
fourcc = GST_STR_FOURCC ("Y42B");
|
||||
|
|
Loading…
Reference in a new issue