[SCM] libav/experimental: Fix seek flags

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 3890dd3a5c0e375ee7ea23be39b363aa2f361c89
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Tue Feb 2 16:01:22 2010 +0000

    Fix seek flags
    
    Originally committed as revision 21603 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffplay.c b/ffplay.c
index 33f91d3..9d391d2 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -985,6 +985,7 @@ static void stream_seek(VideoState *is, int64_t pos, int64_t rel, int seek_by_by
     if (!is->seek_req) {
         is->seek_pos = pos;
         is->seek_rel = rel;
+        is->seek_flags &= ~AVSEEK_FLAG_BYTE;
         if (seek_by_bytes)
             is->seek_flags |= AVSEEK_FLAG_BYTE;
         is->seek_req = 1;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list