]> git.sesse.net Git - vlc/commit
bluray: fix displaying of still images
authorPetri Hintukainen <phintuka@users.sourceforge.net>
Tue, 18 Feb 2014 20:26:50 +0000 (22:26 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Feb 2014 19:56:54 +0000 (20:56 +0100)
commit58813c05b83f753e2bcba43838e4b3957de2737c
tree2ab7123fd03cf6013c9540a8df97129d3ec5184c
parentd39f739ba961a0e1dc64e2ee9c7026431c1a0716
bluray: fix displaying of still images

MPEG-TS demuxer does not flush last video frame if size of PES packet is unknown.
Packet is flushed only when TS packet with PUSI flag set is received.
Fix this by emitting (video) ts packet with PUSI flag set.
Add video sequence end code to payload so that also video decoder is flushed.
Set PES packet size in the payload so that it will be sent to decoder immediately.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/bluray.c