mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
timelinepipeline: fix caps leak
This commit is contained in:
parent
e4b1153846
commit
3b8bfc1f16
1 changed files with 1 additions and 0 deletions
|
@ -403,6 +403,7 @@ ges_timeline_pipeline_update_caps (GESTimelinePipeline * self)
|
|||
rcaps = gst_caps_new_empty_simple ("video/x-raw");
|
||||
gst_caps_append (ocaps, rcaps);
|
||||
ges_track_set_caps (track, ocaps);
|
||||
gst_caps_unref (ocaps);
|
||||
} else {
|
||||
GstCaps *caps = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue