mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
dvb: Fixups for latest API changes
This commit is contained in:
parent
a0a184931a
commit
5c4dd29838
2 changed files with 3 additions and 2 deletions
|
@ -239,7 +239,8 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass)
|
|||
|
||||
/* install dvbsrc properties */
|
||||
dvbsrc_factory = gst_element_factory_find ("dvbsrc");
|
||||
dvbsrc_class = g_type_class_ref (dvbsrc_factory->type);
|
||||
dvbsrc_class =
|
||||
g_type_class_ref (gst_element_factory_get_element_type (dvbsrc_factory));
|
||||
walk = proxyed_properties;
|
||||
while (walk->prop_name != NULL) {
|
||||
GParamSpec *pspec;
|
||||
|
|
|
@ -952,7 +952,7 @@ stopped:
|
|||
GST_DEBUG_OBJECT (object, "stop called");
|
||||
gst_buffer_unmap (buf, &map);
|
||||
gst_buffer_unref (buf);
|
||||
return GST_FLOW_WRONG_STATE;
|
||||
return GST_FLOW_FLUSHING;
|
||||
}
|
||||
select_error:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue