mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
oggdemux: remove unused instance variable event
It is never set to anything
This commit is contained in:
parent
0a115bd31f
commit
ef547c3eb5
2 changed files with 1 additions and 7 deletions
|
@ -4514,7 +4514,6 @@ gst_ogg_demux_loop (GstOggPad * pad)
|
||||||
{
|
{
|
||||||
GstOggDemux *ogg;
|
GstOggDemux *ogg;
|
||||||
GstFlowReturn ret;
|
GstFlowReturn ret;
|
||||||
GstEvent *event;
|
|
||||||
|
|
||||||
ogg = GST_OGG_DEMUX (GST_OBJECT_PARENT (pad));
|
ogg = GST_OGG_DEMUX (GST_OBJECT_PARENT (pad));
|
||||||
|
|
||||||
|
@ -4532,14 +4531,10 @@ gst_ogg_demux_loop (GstOggPad * pad)
|
||||||
|
|
||||||
GST_OBJECT_LOCK (ogg);
|
GST_OBJECT_LOCK (ogg);
|
||||||
ogg->running = TRUE;
|
ogg->running = TRUE;
|
||||||
event = ogg->event;
|
|
||||||
ogg->event = NULL;
|
|
||||||
GST_OBJECT_UNLOCK (ogg);
|
GST_OBJECT_UNLOCK (ogg);
|
||||||
|
|
||||||
/* and seek to configured positions without FLUSH */
|
/* and seek to configured positions without FLUSH */
|
||||||
res = gst_ogg_demux_perform_seek_pull (ogg, event);
|
res = gst_ogg_demux_perform_seek_pull (ogg, NULL);
|
||||||
if (event)
|
|
||||||
gst_event_unref (event);
|
|
||||||
|
|
||||||
if (!res)
|
if (!res)
|
||||||
goto seek_failed;
|
goto seek_failed;
|
||||||
|
|
|
@ -157,7 +157,6 @@ struct _GstOggDemux
|
||||||
GstSegment segment;
|
GstSegment segment;
|
||||||
guint32 seqnum;
|
guint32 seqnum;
|
||||||
|
|
||||||
GstEvent *event;
|
|
||||||
GstEvent *newsegment; /* pending newsegment to be sent from _loop */
|
GstEvent *newsegment; /* pending newsegment to be sent from _loop */
|
||||||
|
|
||||||
/* annodex stuff */
|
/* annodex stuff */
|
||||||
|
|
Loading…
Reference in a new issue