Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-18doc/examples/demuxing_decoding: Drop AVFrame->pts useMichael Niedermayer
This code is not correct for git master Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-18examples/demuxing_decoding: convert to codecparJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2015-10-27Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes
2015-09-06doc/examples/demuxing_decoding: simplify api_mode to refcountClément Bœsch
This finalizes the quick cleanup of a753e6c9f508fd48a0f34438bcdce87c826779b9.
2015-09-05doc/examples/demuxing_decoding: Drop old api mode, because the code fails to ↵Michael Niedermayer
build otherwise Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-06-15examples/demuxing_decoding: use properties from frame instead of video_dec_ctxAndreas Cadhalpun
This is more robust. And only check if there is actually a frame returned. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-02-10examples/demuxing_decoding: abort decoding when width, height or pix_fmt changeAndreas Cadhalpun
This is necessary, because avcodec_decode_video2 can change width, height and/or pixel format of the AVCodecContext. Since video_dst_data and video_dst_linesize are not updated by calling av_image_alloc again, av_image_copy[_plane] asserts, because the destination buffer is too small. In this case, creating a useable rawvideo is not possible anyway, since it has fixed width/height/pix_fmt. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-01-31examples/demuxing_decoding: set stream_idx in open_codec_context only if no ↵Andreas Cadhalpun
error occured Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-03-08doc: fix typocompn
2014-02-17doc/examples: remove pathes from doxy examplesMichael Niedermayer
This makes the examples page less cluttered Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-13examples/demuxing_decoding: print the decoding error when it happens.Clément Bœsch
2013-12-13examples/demuxing_decoding: return error when no codec foundEven Wiik Thomassen
The open_codec_context function, when it fails to find a codec, now return AVERROR(EINVAL) to signal an error. Before it would return the stream index, which was always >= 0, and continue as if a codec was found. This change make it fail faster, instead of repeated failed tries to decode frames with no codec. Signed-off-by: Even Wiik Thomassen <e.thomassen@sportradar.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-11-22doc/examples: do not check NULL values for avcodec_close()Stefano Sabatini
avcodec_close() does nothing in case the argument is NULL. Simplify.
2013-11-04doc/examples: rename demuxing to demuxing_decoding.Clément Bœsch
That example shows how the decoding process works, not only the demuxing.