mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
video-converter: set bits and format after conversion
Update the current format, bits and pstride. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741187
This commit is contained in:
parent
5db596495b
commit
a0b8e96b77
1 changed files with 4 additions and 0 deletions
|
@ -1371,6 +1371,10 @@ chain_convert (GstVideoConverter * convert, GstLineCache * prev)
|
|||
pass_alloc = TRUE;
|
||||
} else
|
||||
do_conversion = FALSE;
|
||||
|
||||
convert->current_bits = convert->pack_bits;
|
||||
convert->current_format = convert->pack_format;
|
||||
convert->current_pstride = convert->current_bits >> 1;
|
||||
} else {
|
||||
/* we did gamma, just do colorspace conversion if needed */
|
||||
if (same_primaries) {
|
||||
|
|
Loading…
Reference in a new issue