mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 18:50:48 +00:00
framepositioner: Plug caps leak
This commit is contained in:
parent
33cf9ec180
commit
61a659d298
1 changed files with 2 additions and 0 deletions
|
@ -160,6 +160,8 @@ sync_properties_from_track (GstFramePositioner * pos, GESTrack * track)
|
|||
|
||||
GST_DEBUG_OBJECT (pos, "syncing framerate from caps : %d/%d", pos->fps_n,
|
||||
pos->fps_d);
|
||||
if (caps)
|
||||
gst_caps_unref (caps);
|
||||
|
||||
gst_frame_positioner_update_properties (pos, ges_track_get_mixing (track),
|
||||
old_track_width, old_track_height);
|
||||
|
|
Loading…
Reference in a new issue