diff options
author | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-05-26 16:02:11 -0300 |
---|---|---|
committer | Thiago Santos <ts.santos@sisa.samsung.com> | 2014-05-26 16:02:11 -0300 |
commit | 587289171196c31eaf00aa993bf7c62c96167402 (patch) | |
tree | ed6b2fd16292a1a413ff5a8e4db44006ff597c48 | |
parent | cf4313f77e1f9c413e8ade70030ae5cb225ae180 (diff) |
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
-rw-r--r-- | ext/libav/gstavdemux.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/libav/gstavdemux.c b/ext/libav/gstavdemux.c index c645069795..f4e2300f52 100644 --- a/ext/libav/gstavdemux.c +++ b/ext/libav/gstavdemux.c @@ -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; - } } |