projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b12ea
)
glvideomixer: don't clobber unnecessary GstVideoInfo fields
author
Matthew Waters
<ystreet00@gmail.com>
Tue, 19 Aug 2014 04:44:29 +0000
(14:44 +1000)
committer
Matthew Waters
<ystreet00@gmail.com>
Tue, 19 Aug 2014 07:16:06 +0000
(17:16 +1000)
otherwise we might clobber other important fields such as the frame rate.
ext/gl/gstglvideomixer.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglvideomixer.c
b/ext/gl/gstglvideomixer.c
index
7dcb936
..
b9a1d68
100644
(file)
--- a/
ext/gl/gstglvideomixer.c
+++ b/
ext/gl/gstglvideomixer.c
@@
-342,8
+342,8
@@
_update_info (GstVideoAggregator * vagg, GstVideoInfo * info)
GST_OBJECT_UNLOCK (vagg);
if (best_width > 0 && best_height > 0) {
- gst_video_info_set_format (info, GST_VIDEO_INFO_FORMAT (info),
-
best_width, best_height)
;
+ info->width = best_width;
+
info->height = best_height
;
ret = TRUE;
}