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
(from parent 1:
d8b8809
)
h264parse: Update src pad caps when it was explicitly signaled
author
Josep Torra
<n770galaxy@gmail.com>
Fri, 26 Apr 2013 08:38:36 +0000
(10:38 +0200)
committer
Josep Torra
<n770galaxy@gmail.com>
Fri, 26 Apr 2013 08:38:36 +0000
(10:38 +0200)
Fixes src pad caps aren't updated when converting from AVC to bytestream
and new caps had been received in the sink pad.
https://bugzilla.gnome.org/show_bug.cgi?id=698679
gst/videoparsers/gsth264parse.c
patch
|
blob
|
history
diff --git
a/gst/videoparsers/gsth264parse.c
b/gst/videoparsers/gsth264parse.c
index 42bff728c0500850e69928b0d2a84c4837dac572..6da80f2a38e421080873b68a79a886f8cdfa6a8e 100644
(file)
--- a/
gst/videoparsers/gsth264parse.c
+++ b/
gst/videoparsers/gsth264parse.c
@@
-1194,7
+1194,7
@@
gst_h264_parse_update_src_caps (GstH264Parse * h264parse, GstCaps * caps)
}
}
- if (G_UNLIKELY (modified)) {
+ if (G_UNLIKELY (modified
|| h264parse->update_caps
)) {
gint fps_num = h264parse->fps_num;
gint fps_den = h264parse->fps_den;
gint width, height;