Mercurial > mplayer.hg
changeset 34947:1e843d908eae
For mf:// all frames are keyframes, mark them as such.
author | reimar |
---|---|
date | Sat, 21 Jul 2012 11:01:25 +0000 |
parents | 46c9a9da5d37 |
children | 1c762294183f |
files | libmpdemux/demux_mf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mf.c Sat Jul 21 02:00:53 2012 +0000 +++ b/libmpdemux/demux_mf.c Sat Jul 21 11:01:25 2012 +0000 @@ -65,7 +65,7 @@ if ( !fread( dp->buffer,fs.st_size,1,f ) ) return 0; dp->pts=mf->curr_frame / sh_video->fps; dp->pos=mf->curr_frame; - dp->flags=0; + dp->flags=1; // append packet to DS stream: ds_add_packet( demuxer->video,dp ); }