aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/demuxing.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: demuxing: print ffplay command even if sample format is planarwm42013-07-191-2/+14
| | | | | Adjust the code so that a working ffplay command is printed in the planar audio case.
* examples: demuxing: simplify audio outputwm42013-07-191-36/+10
| | | | | | | | There is no reason why this should copy the audio data in a very complicated way. Also, strictly write the first plane, instead of writing the whole buffer. This is more helpful in context of the example. This way a user can clearly confirm that it works by playing the written data as raw audio.
* examples: demuxing: do partial audio packet decodingwm42013-07-191-3/+16
| | | | | | This assumes one audio packet is decoded one time. This is not true: packets can be partially decoded. Then you have to "adjust" the packet and pass the undecoded part of the packet to the decode function again.
* doc/examples/demuxing: use AVFrame accessor functionsMichael Niedermayer2013-03-011-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/demuxing: free AVPacket after usageAngelo Haller2013-01-151-1/+3
| | | | Fix leak.
* doc/examples: fix assignments in if()Michael Niedermayer2013-01-141-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/muxing: fix typo: allocated -> allocateStefano Sabatini2012-11-061-1/+1
|
* examples/demuxing: fix brainoStefano Sabatini2012-11-061-1/+1
| | | | s/video/audio/ in a log message.
* examples/demuxing: dump input information *after* trying to open audio streamStefano Sabatini2012-11-061-3/+3
| | | | Implement more logical code flow.
* examples: fix doxy so they appear on the example pageMichael Niedermayer2012-10-261-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/demuxing: add audio decoding/demuxingStefano Sabatini2012-09-111-79/+225
|
* examples: add demuxing.c exampleStefano Sabatini2012-09-021-0/+193