parent
bf11338d6f
commit
aa08be43c7
@ -341,6 +341,7 @@ mpegpsmux_create_stream (MpegPsMux * mux, MpegPsPadData * ps_data, GstPad * pad)
|
|||||||
}
|
}
|
||||||
|
|
||||||
beach:
|
beach:
|
||||||
|
gst_caps_unref (caps);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,11 +91,14 @@ size_changed (GObject * obj, GParamSpec * pspec, IDirectFBWindow * window)
|
|||||||
gint width, height;
|
gint width, height;
|
||||||
|
|
||||||
if (!(gst_structure_get_int (s, "width", &width) &&
|
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;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
window->Resize (window, width, height);
|
window->Resize (window, width, height);
|
||||||
}
|
}
|
||||||
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user