projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a529cb
)
video-converter: also chroma up/downsample when scaling
author
Wim Taymans
<wtaymans@redhat.com>
Thu, 30 Oct 2014 17:41:01 +0000
(18:41 +0100)
committer
Wim Taymans
<wtaymans@redhat.com>
Fri, 31 Oct 2014 10:23:21 +0000
(11:23 +0100)
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 1ca7bf05e184939b254fcc565739851591076f44..edcf67c85e32916705526548782122522e933752 100644
(file)
--- a/
gst-libs/gst/video/video-converter.c
+++ b/
gst-libs/gst/video/video-converter.c
@@
-1126,7
+1126,9
@@
video_converter_compute_resample (GstVideoConverter * convert)
if (sfinfo->w_sub[2] != dfinfo->w_sub[2] ||
sfinfo->h_sub[2] != dfinfo->h_sub[2] ||
- in_info->chroma_site != out_info->chroma_site) {
+ in_info->chroma_site != out_info->chroma_site ||
+ in_info->width != out_info->width ||
+ in_info->height != out_info->height) {
GstVideoChromaFlags flags = (GST_VIDEO_INFO_IS_INTERLACED (in_info) ?
GST_VIDEO_CHROMA_FLAG_INTERLACED : 0);