[vlc-devel] [RFC] Fix #3178 : Last coded block lost in packetizer

Rafaël Carré rafael.carre at gmail.com
Sat Jul 16 04:30:07 CEST 2011


Hi,

With this patch series I can run something like:

vlc in.mp3 --sout "#std{access=file,dst=out.mp3"
-> in.mp3 and out.mp3 will be identical.

provided in.mp3 has no id3* tags or whatever, so if out.mp3 is smaller
just run vlc out.mp3 --sout "#std{access=file,dst=in.mp3" (VLC doesn't
write tags in sout it seems).

The patches 2 and 3 only affect mp3 (my test case), all 
demuxers and packetizers remain to be checked and patched.

If I missed something obvious please tell, else I'll commit in a few 
days and VLC will finally be a "complete" player ;)

See ya at VDD'11

 modules/codec/mpeg_audio.c |   51 +++++++++++++++++++++++++-------------------
 modules/demux/mpeg/es.c    |   29 ++++++++++++++----------
 src/input/decoder.c        |    4 +++
 3 files changed, 50 insertions(+), 34 deletions(-)




More information about the vlc-devel mailing list