mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
h264parse: Update src pad caps when it was explicitly signaled
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
This commit is contained in:
parent
d8b8809d57
commit
b946de7211
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue