mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
parent
d4e63b2727
commit
7162290afe
1 changed files with 3 additions and 3 deletions
|
@ -1458,7 +1458,7 @@ gst_ffmpegdemux_loop (GstFFMpegDemux * demux)
|
||||||
|
|
||||||
done:
|
done:
|
||||||
/* can destroy the packet now */
|
/* can destroy the packet now */
|
||||||
pkt.destruct (&pkt);
|
av_free_packet (&pkt);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -1536,7 +1536,7 @@ drop:
|
||||||
GST_DEBUG_OBJECT (demux, "dropping buffer out of segment, stream eos");
|
GST_DEBUG_OBJECT (demux, "dropping buffer out of segment, stream eos");
|
||||||
stream->eos = TRUE;
|
stream->eos = TRUE;
|
||||||
if (gst_ffmpegdemux_is_eos (demux)) {
|
if (gst_ffmpegdemux_is_eos (demux)) {
|
||||||
pkt.destruct (&pkt);
|
av_free_packet (&pkt);
|
||||||
GST_DEBUG_OBJECT (demux, "we are eos");
|
GST_DEBUG_OBJECT (demux, "we are eos");
|
||||||
ret = GST_FLOW_UNEXPECTED;
|
ret = GST_FLOW_UNEXPECTED;
|
||||||
goto pause;
|
goto pause;
|
||||||
|
@ -1547,7 +1547,7 @@ drop:
|
||||||
}
|
}
|
||||||
no_buffer:
|
no_buffer:
|
||||||
{
|
{
|
||||||
pkt.destruct (&pkt);
|
av_free_packet (&pkt);
|
||||||
goto pause;
|
goto pause;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue