mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
Appsink fixes
This commit is contained in:
parent
1225aa9a78
commit
f89d7ee7eb
1 changed files with 2 additions and 2 deletions
|
@ -662,7 +662,7 @@ dequeue_buffer (GstAppSink * appsink)
|
||||||
|
|
||||||
gst_event_parse_caps (event, &caps);
|
gst_event_parse_caps (event, &caps);
|
||||||
GST_DEBUG_OBJECT (appsink, "activating caps %" GST_PTR_FORMAT, caps);
|
GST_DEBUG_OBJECT (appsink, "activating caps %" GST_PTR_FORMAT, caps);
|
||||||
gst_caps_replace (priv->last_caps, caps);
|
gst_caps_replace (&priv->last_caps, caps);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_EVENT_SEGMENT:
|
case GST_EVENT_SEGMENT:
|
||||||
|
@ -1165,7 +1165,7 @@ gst_app_sink_pull_sample (GstAppSink * appsink)
|
||||||
if (!priv->started)
|
if (!priv->started)
|
||||||
goto not_started;
|
goto not_started;
|
||||||
|
|
||||||
if (priv->num_buffers == 0)
|
if (priv->num_buffers > 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (priv->is_eos)
|
if (priv->is_eos)
|
||||||
|
|
Loading…
Reference in a new issue