projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db5964
)
video-converter: set bits and format after conversion
author
Wim Taymans
<wtaymans@redhat.com>
Sat, 6 Dec 2014 20:02:37 +0000
(21:02 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Sat, 6 Dec 2014 20:05:00 +0000
(21:05 +0100)
Update the current format, bits and pstride.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741187
gst-libs/gst/video/video-converter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-converter.c
b/gst-libs/gst/video/video-converter.c
index
4350874
..
c49c265
100644
(file)
--- a/
gst-libs/gst/video/video-converter.c
+++ b/
gst-libs/gst/video/video-converter.c
@@
-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) {