]> git.sesse.net Git - vlc/log
vlc
9 years agoaudiotrack: move variable in good scope
Thomas Guillem [Thu, 5 Mar 2015 18:03:30 +0000 (19:03 +0100)]
audiotrack: move variable in good scope

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix crash
Thomas Guillem [Thu, 5 Mar 2015 16:17:50 +0000 (17:17 +0100)]
audiotrack: fix crash

Create the thread after p_aout->sys is set.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: deactivate getTimestamp
Thomas Guillem [Tue, 3 Mar 2015 17:05:40 +0000 (18:05 +0100)]
audiotrack: deactivate getTimestamp

It is maybe miss used, but the delay reported by this function is not coherent.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: add WriteV21 (for Lollipop)
Thomas Guillem [Tue, 3 Mar 2015 17:05:39 +0000 (18:05 +0100)]
audiotrack: add WriteV21 (for Lollipop)

There is a new write method that can be non blocking and that can use a direct
ByteBuffer (no memcpy between java and jni).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: fix too unstable delay and write taking too much time
Thomas Guillem [Tue, 3 Mar 2015 18:00:55 +0000 (19:00 +0100)]
audiotrack: fix too unstable delay and write taking too much time

- All JNIThread commands are now executed in a locked state.

- The delay (audiotrack delay + queue delay) is now calculated inside JNIThread.

- Write is now non-blocking and return almost immediately (it takes between 5us
  and 100us). Indeed when audiotrack internal buffer was full, write method was
  taking way too much time, therefore others commands were not processed in
  time (like TIME_GET).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoaudiotrack: check init state
Thomas Guillem [Tue, 3 Mar 2015 17:05:37 +0000 (18:05 +0100)]
audiotrack: check init state

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agovdpau: make version requirements more explicit (fixes #14070)
Rémi Denis-Courmont [Tue, 3 Mar 2015 21:24:55 +0000 (23:24 +0200)]
vdpau: make version requirements more explicit (fixes #14070)

9 years agovlc_path2uri: remove no-op
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:22:24 +0000 (22:22 +0200)]
vlc_path2uri: remove no-op

9 years agovlc_path2uri: allow file names starting with a pair of backslashes
Rémi Denis-Courmont [Tue, 3 Mar 2015 20:18:48 +0000 (22:18 +0200)]
vlc_path2uri: allow file names starting with a pair of backslashes

9 years agopo: update POTFILES.in
Rémi Denis-Courmont [Mon, 2 Mar 2015 22:10:34 +0000 (00:10 +0200)]
po: update POTFILES.in

9 years agodemux: ts: correctly swap es id on restart
Francois Cartegnie [Tue, 3 Mar 2015 16:18:09 +0000 (17:18 +0100)]
demux: ts: correctly swap es id on restart

and missing extra es

9 years agodemux: ts: fix mpeg4desc leak
Francois Cartegnie [Tue, 3 Mar 2015 16:17:33 +0000 (17:17 +0100)]
demux: ts: fix mpeg4desc leak

9 years agodemux: ts: ts_pid_t packing
Francois Cartegnie [Tue, 3 Mar 2015 15:33:57 +0000 (16:33 +0100)]
demux: ts: ts_pid_t packing

From 56 to 40 bytes on 64bit systems, saves 128KB

9 years agodemux: libmp4: enforce bounds reading container
Francois Cartegnie [Tue, 3 Mar 2015 12:45:47 +0000 (13:45 +0100)]
demux: libmp4: enforce bounds reading container

9 years agoContribs: update libvorbis to 1.3.5
Jean-Baptiste Kempf [Tue, 3 Mar 2015 11:21:20 +0000 (12:21 +0100)]
Contribs: update libvorbis to 1.3.5

And drop all our patches :)

9 years agovdr: really fix sizeof mismatch
Tristan Matthews [Tue, 3 Mar 2015 08:15:36 +0000 (03:15 -0500)]
vdr: really fix sizeof mismatch

9 years agomacosx: fix rare crash in VLCTimeField
David Fuhrmann [Mon, 2 Mar 2015 21:45:03 +0000 (22:45 +0100)]
macosx: fix rare crash in VLCTimeField

initWithFrame: is not always the designated initializer, thus the
object got improperly initialized. Use default initialization and
simplify code.

9 years agoinclude: install <vlc_interface.h>
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:44:36 +0000 (22:44 +0200)]
include: install <vlc_interface.h>

9 years agocontrol: move CONSOLE_INTRO_MSG to a private header
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:44:17 +0000 (22:44 +0200)]
control: move CONSOLE_INTRO_MSG to a private header

9 years agooldrc: only invoke console intro message where applicable
Rémi Denis-Courmont [Mon, 2 Mar 2015 20:37:53 +0000 (22:37 +0200)]
oldrc: only invoke console intro message where applicable

9 years agodemux: ts: rewrite psi structures and pid use tracking
Francois Cartegnie [Sun, 1 Mar 2015 19:52:32 +0000 (20:52 +0100)]
demux: ts: rewrite psi structures and pid use tracking

* Fully track pid parenting
* Simplify tables updates by ref counting
* No longer allows pid collisions by funky or forged tables
* Kills the 0..8192 loops
* Removes the 8192 stream_Control on close
* Remove unnecessary members and arrays
* Removes the nonsense multiple program by pmt
* Avoids by number/pid lookups
* Restarts ES on format change

9 years agodemux: mp4: text/tx3g defaults to codec tx3G (fix #14045)
Francois Cartegnie [Mon, 2 Mar 2015 15:33:57 +0000 (16:33 +0100)]
demux: mp4: text/tx3g defaults to codec tx3G (fix #14045)

9 years agoWin32: timestamp the signature
Jean-Baptiste Kempf [Sun, 1 Mar 2015 22:54:47 +0000 (23:54 +0100)]
Win32: timestamp the signature

Close #14053

9 years agodemux: ts: fix bisection loop on missing results
Francois Cartegnie [Sun, 1 Mar 2015 19:48:01 +0000 (20:48 +0100)]
demux: ts: fix bisection loop on missing results

9 years agoAvcodec: fix compilation with some FFmpeg versions
Jean-Baptiste Kempf [Sun, 1 Mar 2015 14:05:56 +0000 (15:05 +0100)]
Avcodec: fix compilation with some FFmpeg versions

Close #12135

9 years agosnapshot: fix format string portability
Rémi Denis-Courmont [Sun, 1 Mar 2015 09:52:46 +0000 (11:52 +0200)]
snapshot: fix format string portability

We cannot assume that timeval.tv_usec (i.e. suseconds_t) is long.

Reported-by: Ian Chamberlain <ian.h.chamberlain@gmail.com>
9 years agowinstore: fix activation callback parameters handling
Rémi Denis-Courmont [Sun, 1 Mar 2015 09:11:47 +0000 (11:11 +0200)]
winstore: fix activation callback parameters handling

9 years agostr_format_meta: missing initializer on error path
Rémi Denis-Courmont [Sun, 1 Mar 2015 08:08:30 +0000 (10:08 +0200)]
str_format_meta: missing initializer on error path

9 years agoMKV: make sure the position we keep for reference is the one we read
Steve Lhomme [Fri, 27 Feb 2015 14:26:59 +0000 (15:26 +0100)]
MKV: make sure the position we keep for reference is the one we read

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: avoid recursive parsing of the same Seek head
Steve Lhomme [Fri, 27 Feb 2015 14:43:56 +0000 (15:43 +0100)]
MKV: avoid recursive parsing of the same Seek head

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: allow dummy elements in Tags to skip old deprecated elements
Steve Lhomme [Fri, 27 Feb 2015 15:30:08 +0000 (16:30 +0100)]
MKV: allow dummy elements in Tags to skip old deprecated elements

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: Void and CRC32 are not unknown elements
Steve Lhomme [Fri, 27 Feb 2015 14:41:40 +0000 (15:41 +0100)]
MKV: Void and CRC32 are not unknown elements

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agocontribs: vorbis: Fix msvc build
Hugo Beauzée-Luyssen [Tue, 3 Feb 2015 12:51:52 +0000 (13:51 +0100)]
contribs: vorbis: Fix msvc build

9 years agocontribs: opus: Fix MSVC build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 16:47:55 +0000 (17:47 +0100)]
contribs: opus: Fix MSVC build

This is applied upstream and can be removed when we update opus version

9 years agocontribs: fribidi: Fix MSVC build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 15:57:03 +0000 (16:57 +0100)]
contribs: fribidi: Fix MSVC build

9 years agocontribs: openjpeg: Fix windows build
Hugo Beauzée-Luyssen [Fri, 9 Jan 2015 15:52:03 +0000 (16:52 +0100)]
contribs: openjpeg: Fix windows build

9 years agocontribs: Fix mpcdec build with MSVC
Hugo Beauzée-Luyssen [Wed, 3 Dec 2014 14:47:33 +0000 (15:47 +0100)]
contribs: Fix mpcdec build with MSVC

9 years agowinstore: Acquire the IAudioClient before using it
Hugo Beauzée-Luyssen [Mon, 16 Feb 2015 10:39:51 +0000 (11:39 +0100)]
winstore: Acquire the IAudioClient before using it

9 years agowinstore: Don't free the audio client.
Hugo Beauzée-Luyssen [Tue, 10 Feb 2015 10:58:23 +0000 (11:58 +0100)]
winstore: Don't free the audio client.

It is owned by an external component.

9 years agotools: Update to cmake 3.1
Hugo Beauzée-Luyssen [Fri, 16 Jan 2015 13:27:08 +0000 (14:27 +0100)]
tools: Update to cmake 3.1

9 years agodash: Fix MSVC build
Hugo Beauzée-Luyssen [Wed, 4 Feb 2015 13:27:33 +0000 (14:27 +0100)]
dash: Fix MSVC build

9 years agoMKV: set the I frame flag when we know it's a keyframe
Steve Lhomme [Fri, 27 Feb 2015 10:08:03 +0000 (11:08 +0100)]
MKV: set the I frame flag when we know it's a keyframe

Move the comment about the DTS availability where it's used

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoSynchronize NEWS
Jean-Baptiste Kempf [Thu, 26 Feb 2015 20:31:30 +0000 (21:31 +0100)]
Synchronize NEWS

9 years agoRevert "Qt: force main window maximum size to be some big enough"
Jean-Baptiste Kempf [Thu, 26 Feb 2015 20:15:55 +0000 (21:15 +0100)]
Revert "Qt: force main window maximum size to be some big enough"

This reverts commit b5a43debee2232ca9b3be252f58c0520fcc413b8.

This is not enough and introduces more regressions

9 years agorequire libdvbpsi >= 1.0.0
Francois Cartegnie [Thu, 26 Feb 2015 18:20:22 +0000 (19:20 +0100)]
require libdvbpsi >= 1.0.0

Removes unreadable and unmaintainable ifdefs hacks everywhere

9 years agoEnable to merge the avparser packetizer with --merge option
Jean-Baptiste Kempf [Thu, 26 Feb 2015 20:00:48 +0000 (21:00 +0100)]
Enable to merge the avparser packetizer with --merge option

9 years agoAdd avparser.h to prepare for submodulification
Jean-Baptiste Kempf [Thu, 26 Feb 2015 19:55:34 +0000 (20:55 +0100)]
Add avparser.h to prepare for submodulification

9 years agoAvparser: rename Open and Close functions
Jean-Baptiste Kempf [Thu, 26 Feb 2015 19:46:55 +0000 (20:46 +0100)]
Avparser: rename Open and Close functions

9 years agodemux: ts: fix NULL deref picking PCR (#13996)
Francois Cartegnie [Thu, 26 Feb 2015 18:26:38 +0000 (19:26 +0100)]
demux: ts: fix NULL deref picking PCR (#13996)

Doh!

9 years agoAvparser: Fix typo and remove trailing spaces
Jean-Baptiste Kempf [Thu, 26 Feb 2015 17:15:29 +0000 (18:15 +0100)]
Avparser: Fix typo and remove trailing spaces

9 years agodemux: ts: filter out other streams
Francois Cartegnie [Thu, 26 Feb 2015 16:30:52 +0000 (17:30 +0100)]
demux: ts: filter out other streams

9 years agoUpdate MODULES_LIST
Jean-Baptiste Kempf [Thu, 26 Feb 2015 16:53:54 +0000 (17:53 +0100)]
Update MODULES_LIST

9 years agoAdd avparser packetizer for VP9 handling
Denis Charmet [Thu, 26 Feb 2015 16:32:29 +0000 (17:32 +0100)]
Add avparser packetizer for VP9 handling

Fix #12944

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: ts: avoid PAT fixup loop
Francois Cartegnie [Thu, 26 Feb 2015 16:24:30 +0000 (17:24 +0100)]
demux: ts: avoid PAT fixup loop

9 years agodemux: ts: set PAT fixup to 2*DVB PAT interval
Francois Cartegnie [Thu, 26 Feb 2015 16:24:03 +0000 (17:24 +0100)]
demux: ts: set PAT fixup to 2*DVB PAT interval

9 years agoContribs: apply the zvbi fix on all platforms
Jean-Baptiste Kempf [Thu, 26 Feb 2015 10:51:56 +0000 (11:51 +0100)]
Contribs: apply the zvbi fix on all platforms

Fix Android x86 compilation

9 years agodemux: ts: set delayed es if preparsed
Francois Cartegnie [Wed, 25 Feb 2015 19:09:32 +0000 (20:09 +0100)]
demux: ts: set delayed es if preparsed

Avoids never creating es when access_control is seekable
(should never be the case anyway)

9 years agoMKV: force packetization of MPEG audio frames
Steve Lhomme [Wed, 25 Feb 2015 15:01:08 +0000 (16:01 +0100)]
MKV: force packetization of MPEG audio frames

Fixes #11479
The file has some MP3 frames, but the frames are not packetized correctly in the Matroska file (spec violation)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoQt: profiles editor: fix and improve muxers warning messages
Francois Cartegnie [Wed, 25 Feb 2015 18:22:39 +0000 (19:22 +0100)]
Qt: profiles editor: fix and improve muxers warning messages

9 years agoblock: doxify block_FifoNew() and block_FifoRelease()
Rémi Denis-Courmont [Tue, 24 Feb 2015 20:43:26 +0000 (22:43 +0200)]
block: doxify block_FifoNew() and block_FifoRelease()

9 years agoudp: fix potential deadlock at exit
Rémi Denis-Courmont [Tue, 24 Feb 2015 21:12:28 +0000 (23:12 +0200)]
udp: fix potential deadlock at exit

9 years agoWin32: disable tmpfile() on WinRT
Jean-Baptiste Kempf [Wed, 25 Feb 2015 15:38:58 +0000 (16:38 +0100)]
Win32: disable tmpfile() on WinRT

9 years agofix ELF removal of prebuilt win32 contrib
Steve Lhomme [Wed, 25 Feb 2015 13:16:13 +0000 (14:16 +0100)]
fix ELF removal of prebuilt win32 contrib

9 years agoContribs: remove win32 binaries faster
Jean-Baptiste Kempf [Tue, 24 Feb 2015 19:57:20 +0000 (20:57 +0100)]
Contribs: remove win32 binaries faster

9 years agoQt: drop zoom for FontRole (fix #11874)
Francois Cartegnie [Tue, 24 Feb 2015 19:55:36 +0000 (20:55 +0100)]
Qt: drop zoom for FontRole (fix #11874)

Applies to all view.

9 years agoQt: show context menu on pictureflow (fix #11876)
Francois Cartegnie [Tue, 24 Feb 2015 17:27:05 +0000 (18:27 +0100)]
Qt: show context menu on pictureflow (fix #11876)

ContextMenuEvent should be forwarded to parent
when child has Qt::NoContextMenu policy.
Here, I can't figure out what is not working,
parent never fires signal, event at viewport level.

Redirecting signal as a workaound then :/
(might be pixels offset due to missing coordinates conversion)

9 years agoMKV: less strict warning of normal situations
Steve Lhomme [Tue, 24 Feb 2015 15:34:24 +0000 (16:34 +0100)]
MKV: less strict warning of normal situations

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: better mnemonics & logs
Steve Lhomme [Tue, 24 Feb 2015 15:25:19 +0000 (16:25 +0100)]
MKV: better mnemonics & logs

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: the Block duration is for the whole Block, not each frame
Steve Lhomme [Tue, 24 Feb 2015 11:51:08 +0000 (12:51 +0100)]
MKV: the Block duration is for the whole Block, not each frame

unlike the Default Duration in the Info header which is per frame.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoMKV: fix playback of AC-3 with bogus default duration
Steve Lhomme [Tue, 24 Feb 2015 11:04:49 +0000 (12:04 +0100)]
MKV: fix playback of AC-3 with bogus default duration

Fixes #8512
The fix is similar to that one in ffmpeg/libav http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavformat/matroskadec.c;#l2813

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: use depth 1 only for HEAD
Jean-Baptiste Kempf [Tue, 24 Feb 2015 11:09:30 +0000 (12:09 +0100)]
Contribs: use depth 1 only for HEAD

9 years agoRemove langfromtelx
Jean-Baptiste Kempf [Tue, 24 Feb 2015 10:32:32 +0000 (11:32 +0100)]
Remove langfromtelx

9 years agoFix libass linking
Jean-Baptiste Kempf [Tue, 24 Feb 2015 09:49:37 +0000 (10:49 +0100)]
Fix libass linking

9 years agoContribs: ssh2, gcrypt needs gpg-error
Jean-Baptiste Kempf [Tue, 24 Feb 2015 09:17:27 +0000 (10:17 +0100)]
Contribs: ssh2, gcrypt needs gpg-error

9 years agoContribs: fix ssh2 .pc file with zlib
Jean-Baptiste Kempf [Tue, 24 Feb 2015 09:11:12 +0000 (10:11 +0100)]
Contribs: fix ssh2 .pc file with zlib

9 years agodemux: dash: add missing periods baseUrl
Francois Cartegnie [Mon, 23 Feb 2015 22:54:30 +0000 (23:54 +0100)]
demux: dash: add missing periods baseUrl

9 years agodemux: dash: add missing period duration parsing
Francois Cartegnie [Mon, 23 Feb 2015 22:34:19 +0000 (23:34 +0100)]
demux: dash: add missing period duration parsing

9 years agodemux: ts: set seen flag when probing start/end
Francois Cartegnie [Mon, 23 Feb 2015 22:21:01 +0000 (23:21 +0100)]
demux: ts: set seen flag when probing start/end

Helps picking a missing/untrusted PCR

9 years agodemux: asf: set es id to stream number
Francois Cartegnie [Mon, 23 Feb 2015 19:23:12 +0000 (20:23 +0100)]
demux: asf: set es id to stream number

Should fix mmsh stream selection

9 years agoMKV: Chapter timestamps are already set, don't overwrite them
Steve Lhomme [Mon, 23 Feb 2015 17:05:37 +0000 (17:05 +0000)]
MKV: Chapter timestamps are already set, don't overwrite them

It is mandatory in the specs. The chapters are not supposed to be in chronological order.

Fixes #13773

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoVNC: don't log passwords
Jean-Baptiste Kempf [Mon, 23 Feb 2015 16:55:56 +0000 (17:55 +0100)]
VNC: don't log passwords

9 years agodsm: don't log password on error
Thomas Guillem [Mon, 23 Feb 2015 16:50:48 +0000 (17:50 +0100)]
dsm: don't log password on error

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agologger: fix compilation on OS/2
KO Myung-Hun [Mon, 23 Feb 2015 13:27:57 +0000 (22:27 +0900)]
logger: fix compilation on OS/2

-----
  CC       logger/console.lo
logger/console.c: In function 'Open':
logger/console.c:115:5: error: implicit declaration of function 'isatty' [-Werror=implicit-function-declaration]
     if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
     ^
logger/console.c:115:16: error: 'STDERR_FILENO' undeclared (first use in this function)
     if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
                ^
logger/console.c:115:16: note: each undeclared identifier is reported only once for each function it appears in
cc1.exe: some warnings being treated as errors
-----

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodsm: don't log password
Thomas Guillem [Mon, 23 Feb 2015 16:38:11 +0000 (17:38 +0100)]
dsm: don't log password

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoQt: use qtu where applicable
Jean-Baptiste Kempf [Mon, 23 Feb 2015 15:57:52 +0000 (16:57 +0100)]
Qt: use qtu where applicable

9 years agoMKV: remove trailing spaces
Jean-Baptiste Kempf [Mon, 23 Feb 2015 10:47:23 +0000 (11:47 +0100)]
MKV: remove trailing spaces

9 years agoMKV: find the duration in the last Cluster when it's not in the Info header
Steve Lhomme [Mon, 23 Feb 2015 10:02:26 +0000 (11:02 +0100)]
MKV: find the duration in the last Cluster when it's not in the Info header

Only on fast seeking sources

Close #12724

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agobetter size checking of EBML elements before we read them
Steve Lhomme [Mon, 23 Feb 2015 09:34:01 +0000 (10:34 +0100)]
better size checking of EBML elements before we read them

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodemux: ts: missing PCR repick for no-trust-pcr
Francois Cartegnie [Sun, 22 Feb 2015 21:30:36 +0000 (22:30 +0100)]
demux: ts: missing PCR repick for no-trust-pcr

9 years agomacosx: do not use vlc_assert_unreachable in third-party code
David Fuhrmann [Sun, 22 Feb 2015 18:30:20 +0000 (19:30 +0100)]
macosx: do not use vlc_assert_unreachable in third-party code

9 years agomux: oog: remove return value from delStream
David Fuhrmann [Sun, 22 Feb 2015 18:29:41 +0000 (19:29 +0100)]
mux: oog: remove return value from delStream

9 years agoWe can play .tak
Jean-Baptiste Kempf [Sun, 22 Feb 2015 18:14:20 +0000 (19:14 +0100)]
We can play .tak

9 years agodemux: ts: check packet size when parsing pes
Francois Cartegnie [Sun, 22 Feb 2015 14:01:46 +0000 (15:01 +0100)]
demux: ts: check packet size when parsing pes

9 years agodemux: ts: flush queues after seek
Francois Cartegnie [Sun, 22 Feb 2015 13:56:42 +0000 (14:56 +0100)]
demux: ts: flush queues after seek

9 years agodemux: ts: add DEMUX_SET_TIME
Francois Cartegnie [Sun, 22 Feb 2015 15:13:18 +0000 (16:13 +0100)]
demux: ts: add DEMUX_SET_TIME

9 years agodemux: ts: rewrite, unifying by program
Francois Cartegnie [Mon, 16 Feb 2015 21:34:37 +0000 (22:34 +0100)]
demux: ts: rewrite, unifying by program

fixes #13967
* Recenters everything that depends on program: Time, timerolls, hacks...
* Removes PCR probing, programless timeroll handling
with a simplier fix (won't work with 2x26 hours recording, but..)
* Better probing of program duration (not based on inter PCR). More accurate,
at best by 1 frame length.
* Changes seek handling and bisects only on request (removes the whole file probing)
* No longer creates ES at preparse time
* Simplify/Unify dual program selection list and don't trust default program at first
* Many numerous other fixes

9 years agodemux: ts: Better missing PCR fixes
Francois Cartegnie [Fri, 6 Feb 2015 16:03:14 +0000 (17:03 +0100)]
demux: ts: Better missing PCR fixes

Moves the PCR fix from a global to program focused one.

Replaces the program PCR with a selected one instead of
sending PCR updates from all streams (applies to --no-trust-pcr)

Queues blocks until PCR appears. (will help fixing offsets)

Changes PCR probing time from 100ms (spec max) to 0.5s
(seen some streams with 0.4s inter-PCR)

9 years agodemux: ts: ProbePES: don't assume min sized packet
Francois Cartegnie [Sun, 22 Feb 2015 10:19:59 +0000 (11:19 +0100)]
demux: ts: ProbePES: don't assume min sized packet

9 years agodemux: ts: prevent unwanted read at end of media
Francois Cartegnie [Sun, 22 Feb 2015 00:21:05 +0000 (01:21 +0100)]
demux: ts: prevent unwanted read at end of media

Truncated packets at the end

9 years agodemux: ts: add timescale conversion helpers
Francois Cartegnie [Sat, 21 Feb 2015 14:09:35 +0000 (15:09 +0100)]
demux: ts: add timescale conversion helpers