mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-30 02:58:24 +00:00
avdemux: remove legacy check from pad-alloc times
The 'no_buffer' error case is from the 0.10 era when a pad_alloc was made before decoding the data and avdemuxer could check again the flow returns for a not-linked. This isn't a valid use case anymore in 1.0
This commit is contained in:
parent
cf4313f77e
commit
5872891711
1 changed files with 0 additions and 8 deletions
|
@ -1430,9 +1430,6 @@ gst_ffmpegdemux_loop (GstFFMpegDemux * demux)
|
|||
|
||||
outbuf = gst_buffer_new_and_alloc (outsize);
|
||||
|
||||
if ((ret = gst_ffmpegdemux_aggregated_flow (demux)) != GST_FLOW_OK)
|
||||
goto no_buffer;
|
||||
|
||||
/* copy the data from packet into the target buffer
|
||||
* and do conversions for raw video packets */
|
||||
if (rawvideo) {
|
||||
|
@ -1582,11 +1579,6 @@ drop:
|
|||
goto done;
|
||||
}
|
||||
}
|
||||
no_buffer:
|
||||
{
|
||||
av_free_packet (&pkt);
|
||||
goto pause;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue