mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
basesink: fixes compiler warning
gstbasesink.c: In function 'gst_base_sink_chain_unlocked': gstbasesink.c:3204: warning: 'ret' may be used uninitialized in this function
This commit is contained in:
parent
ba8c0f5e4b
commit
3c9dfaea38
1 changed files with 1 additions and 1 deletions
|
@ -3201,7 +3201,7 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
|
||||||
{
|
{
|
||||||
GstBaseSinkClass *bclass;
|
GstBaseSinkClass *bclass;
|
||||||
GstBaseSinkPrivate *priv = basesink->priv;
|
GstBaseSinkPrivate *priv = basesink->priv;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GstClockTime start = GST_CLOCK_TIME_NONE, end = GST_CLOCK_TIME_NONE;
|
GstClockTime start = GST_CLOCK_TIME_NONE, end = GST_CLOCK_TIME_NONE;
|
||||||
GstSegment *segment;
|
GstSegment *segment;
|
||||||
GstBuffer *sync_buf;
|
GstBuffer *sync_buf;
|
||||||
|
|
Loading…
Reference in a new issue