mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
videorate: GstStructure refcount critical message
s3 is not being initialized when run in a loop and the same was being freed, which resulted in the crash https://bugzilla.gnome.org/show_bug.cgi?id=735952
This commit is contained in:
parent
5cbefaa9a2
commit
302f123c62
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ gst_video_rate_transform_caps (GstBaseTransform * trans,
|
|||
|
||||
s1 = gst_structure_copy (s);
|
||||
s2 = gst_structure_copy (s);
|
||||
s3 = NULL;
|
||||
|
||||
if (videorate->drop_only) {
|
||||
gint min_num = 0, min_denom = 1;
|
||||
|
|
Loading…
Reference in a new issue