• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ffmpeg/0009-changed-allow-4-second-skew-between-streams-in-mov-b.patch
Thomas PetazzoniThomas Petazzoni committed 2c2fd3c257e27 Dec 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 4bcec3ef0042244b0ade00d132368d0872f73c72 Mon Sep 17 00:00:00 2001
2
From: Joakim Plate <elupus@ecce.se>
3
Date: Wed, 8 Dec 2010 14:03:43 +0000
4
Subject: [PATCH 09/13] changed: allow 4 second skew between streams in mov
5
 before attempting to seek
6
​
7
Patch part of the XBMC patch set for ffmpeg, downloaded from
8
https://github.com/xbmc/FFmpeg/.
9
​
10
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12
---
13
 libavformat/mov.c | 4 ++--
14
 1 file changed, 2 insertions(+), 2 deletions(-)
15
​
16
diff --git a/libavformat/mov.c b/libavformat/mov.c
17
index 8d66c0a..127ffd9 100644
18
--- a/libavformat/mov.c
19
+++ b/libavformat/mov.c
20
@@ -4028,8 +4028,8 @@ static AVIndexEntry *mov_find_next_sample(AVFormatContext *s, AVStream **st)
21
             if (!sample || (!s->pb->seekable && current_sample->pos < sample->pos) ||
22
                 (s->pb->seekable &&
23
                  ((msc->pb != s->pb && dts < best_dts) || (msc->pb == s->pb &&
24
-                 ((FFABS(best_dts - dts) <= AV_TIME_BASE && current_sample->pos < sample->pos) ||
25
-                  (FFABS(best_dts - dts) > AV_TIME_BASE && dts < best_dts)))))) {
26
+                 ((FFABS(best_dts - dts) <= 4*AV_TIME_BASE && current_sample->pos < sample->pos) ||
27
+                  (FFABS(best_dts - dts) > 4*AV_TIME_BASE && dts < best_dts)))))) {
28
                 sample = current_sample;
29
                 best_dts = dts;
30
                 *st = avst;
31
-- 
32
2.1.0
33
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.