parent
3c0170aa4b
commit
b263ae123c
@ -304,6 +304,9 @@ gst_cdxa_parse_loop (GstPad * sinkpad)
|
|||||||
}
|
}
|
||||||
|
|
||||||
sync_offset = gst_cdxa_parse_sync (buf);
|
sync_offset = gst_cdxa_parse_sync (buf);
|
||||||
|
gst_buffer_unref (buf);
|
||||||
|
buf = NULL;
|
||||||
|
|
||||||
if (sync_offset >= 0)
|
if (sync_offset >= 0)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -358,6 +361,9 @@ gst_cdxa_parse_loop (GstPad * sinkpad)
|
|||||||
eos:
|
eos:
|
||||||
{
|
{
|
||||||
GST_DEBUG_OBJECT (cdxa, "Sending EOS");
|
GST_DEBUG_OBJECT (cdxa, "Sending EOS");
|
||||||
|
if (buf)
|
||||||
|
gst_buffer_unref (buf);
|
||||||
|
buf = NULL;
|
||||||
gst_pad_push_event (cdxa->srcpad, gst_event_new_eos ());
|
gst_pad_push_event (cdxa->srcpad, gst_event_new_eos ());
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user