summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 17:30:44 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-11 17:30:44 +0000
commita4c58e8f87aa0606f883876d8557dbc99016ebaa (patch)
tree7c04ae3e7c14bfc9dfaec78115fa141632a92080 /mplayer.c
parente2e3c839e7e2f99e6f9571a8cf416f6b9d81665c (diff)
downloadmpv-a4c58e8f87aa0606f883876d8557dbc99016ebaa.tar.bz2
mpv-a4c58e8f87aa0606f883876d8557dbc99016ebaa.tar.xz
Allow demuxers to return packets with no pts in -correct-pts mode
as long as there are enough pts values for frames that the decoder returns. This should allow passing NAL units individually. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22516 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 2ab2c05015..66a0f3759c 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -1615,8 +1615,6 @@ static int generate_video_frame(sh_video_t *sh_video, demux_stream_t *d_video)
}
if (in_size > max_framesize)
max_framesize = in_size;
- if (pts == MP_NOPTS_VALUE)
- mp_msg(MSGT_CPLAYER, MSGL_ERR, "pts value from demuxer MISSING\n");
current_module = "decode video";
decoded_frame = decode_video(sh_video, start, in_size, 0, pts);
if (decoded_frame) {