Mercurial > mplayer.hg
changeset 36749:9393c7f716f3
Fix probe bug losing video packets.
ds_fill_buffer will actually lose any data from previous
ds_fill_buffer calls.
Use demux_fill_buffer instead to get the intended behaviour.
author | reimar |
---|---|
date | Sun, 16 Feb 2014 13:24:55 +0000 |
parents | a31e7824ef36 |
children | 8a1186284090 |
files | libmpdemux/demux_mpg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mpg.c Sat Feb 15 17:24:29 2014 +0000 +++ b/libmpdemux/demux_mpg.c Sun Feb 16 13:24:55 2014 +0000 @@ -195,7 +195,7 @@ demuxer->priv = mpg_d; while (demuxer->video->packs + demuxer->audio->packs < 2) - if (!ds_fill_buffer(demuxer->video)) return 0; + if (!demux_fill_buffer(demuxer, demuxer->video)) return 0; mpg_d->last_pts = -1.0; mpg_d->first_pts = -1.0;