mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
parent
bf11338d6f
commit
aa08be43c7
2 changed files with 5 additions and 1 deletions
|
@ -341,6 +341,7 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
|
|||
}
|
||||
|
||||
beach:
|
||||
gst_caps_unref (caps);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -91,11 +91,14 @@ size_changed (GObject * obj, GParamSpec * pspec, IDirectFBWindow * window)
|
|||
gint width, height;
|
||||
|
||||
if (!(gst_structure_get_int (s, "width", &width) &&
|
||||
gst_structure_get_int (s, "height", &height)))
|
||||
gst_structure_get_int (s, "height", &height))) {
|
||||
gst_caps_unref (caps);
|
||||
return;
|
||||
}
|
||||
|
||||
window->Resize (window, width, height);
|
||||
}
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue