vlc.git
5 years agovout/macosx: Ensure context exists when calling vout_display_opengl_New
Marvin Scholz [Wed, 28 Dec 2016 16:45:25 +0000 (17:45 +0100)]
vout/macosx: Ensure context exists when calling vout_display_opengl_New

vout_display_opengl_New seems to require a valid context, therefore we
need to vlc_gl_MakeCurrent before calling it and release it again
afterwards.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
5 years agoopengl: Replace vlc_gl_Destroy in macosx, glwin32, caopengllayer vouts
Marvin Scholz [Wed, 28 Dec 2016 16:45:24 +0000 (17:45 +0100)]
opengl: Replace vlc_gl_Destroy in macosx, glwin32, caopengllayer vouts

Some vouts like macosx and glwin32 do not use vlc_gl_Create to create a
vlc_gl_t, and set no module but vlc_gl_Destroy expects that a module is
set and will therefore fail for these vouts.

This commit replaces vlc_gl_Destroy in these vouts with direct calls to
vlc_object_release.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
5 years agovout/ios2: fix vlc_gl_t creation
Thomas Guillem [Thu, 29 Dec 2016 12:43:33 +0000 (13:43 +0100)]
vout/ios2: fix vlc_gl_t creation

5 years agoqt: preferences: Always use a combobox for resume playback
Hugo Beauzée-Luyssen [Thu, 29 Dec 2016 10:32:47 +0000 (11:32 +0100)]
qt: preferences: Always use a combobox for resume playback

Using a checkbox would force the value back to 0/1 when saving the
simple preferences, while it can be set to 2 from advanced preferences.
This also moves this setting out of the Privacy/Network interactions
category, as it doesn't belong there

Fix #17061

5 years agomain_interface_win32: Adapt taskbar buttons based on the playlist
Hugo Beauzée-Luyssen [Thu, 29 Dec 2016 09:35:25 +0000 (10:35 +0100)]
main_interface_win32: Adapt taskbar buttons based on the playlist

Fix #10429

5 years agodirectsound: Fix volume range
Hugo Beauzée-Luyssen [Tue, 27 Dec 2016 16:28:58 +0000 (17:28 +0100)]
directsound: Fix volume range

Setting an integer limit on a float will yield UB when trying to clamp
the volume within its given range.
Fix #17659

5 years agomain_interface_win32: Display the taskbar buttons upon creation if required
Hugo Beauzée-Luyssen [Thu, 29 Dec 2016 08:35:24 +0000 (09:35 +0100)]
main_interface_win32: Display the taskbar buttons upon creation if required

fix #6868

5 years agocore/picture: add null check
Thomas Guillem [Thu, 29 Dec 2016 08:29:57 +0000 (09:29 +0100)]
core/picture: add null check

5 years agocore/picture: use visible size in picture_Export
Thomas Guillem [Thu, 29 Dec 2016 08:29:22 +0000 (09:29 +0100)]
core/picture: use visible size in picture_Export

Fix #16789

5 years agomain_interface_win32: Use the video as thumbnail image
Hugo Beauzée-Luyssen [Wed, 28 Dec 2016 16:16:37 +0000 (17:16 +0100)]
main_interface_win32: Use the video as thumbnail image

Or the full interface when no video is playing

5 years agomain_interface_win32: Fix play/pause button not being updated
Hugo Beauzée-Luyssen [Wed, 28 Dec 2016 15:58:31 +0000 (16:58 +0100)]
main_interface_win32: Fix play/pause button not being updated

The buttons are created upon the main intf winID, so we need to update
the buttons with the same winID as parameter

5 years agomain_interface: Don't silently ignore failure to register a message
Hugo Beauzée-Luyssen [Wed, 28 Dec 2016 15:42:20 +0000 (16:42 +0100)]
main_interface: Don't silently ignore failure to register a message

5 years agomain_interface_win32: Fix missing taskbar icons
Hugo Beauzée-Luyssen [Wed, 28 Dec 2016 15:41:23 +0000 (16:41 +0100)]
main_interface_win32: Fix missing taskbar icons

Fix #14003

5 years agoQt: EPG: change program using epg events
Francois Cartegnie [Wed, 28 Dec 2016 12:38:18 +0000 (13:38 +0100)]
Qt: EPG: change program using epg events

5 years agoQt: EPG: use epgtime for timeline
Francois Cartegnie [Wed, 28 Dec 2016 11:16:59 +0000 (12:16 +0100)]
Qt: EPG: use epgtime for timeline

removes last use of system time for epg ui

5 years agoQt: EPG: clear epg on input change
Francois Cartegnie [Wed, 28 Dec 2016 10:12:25 +0000 (11:12 +0100)]
Qt: EPG: clear epg on input change

5 years agodemux: ts: improve default event picking
Francois Cartegnie [Tue, 27 Dec 2016 22:24:30 +0000 (23:24 +0100)]
demux: ts: improve default event picking

on missing running state

5 years agoes_out: use only channel name for epg
Francois Cartegnie [Tue, 27 Dec 2016 18:25:30 +0000 (19:25 +0100)]
es_out: use only channel name for epg

5 years agovout: show empty epg
Francois Cartegnie [Tue, 27 Dec 2016 17:47:20 +0000 (18:47 +0100)]
vout: show empty epg

always give visual feedback on hotkey

5 years agovout: epg: use epg_time instead of system clock time
Francois Cartegnie [Tue, 27 Dec 2016 15:40:32 +0000 (16:40 +0100)]
vout: epg: use epg_time instead of system clock time

5 years agoes_out: add ES_OUT_SET_EPG_TIME
Francois Cartegnie [Tue, 27 Dec 2016 14:35:01 +0000 (15:35 +0100)]
es_out: add ES_OUT_SET_EPG_TIME

Because EIT time/date is not correlated to PCR,
GET_TIME (relative) or current time(),
time base must be the one provided by SI tables. (TOT/TDT)

5 years agoinput: add input_item_SetEpgTime
Francois Cartegnie [Tue, 27 Dec 2016 14:52:17 +0000 (15:52 +0100)]
input: add input_item_SetEpgTime

5 years agovout: use current table info for epg
Francois Cartegnie [Tue, 27 Dec 2016 13:42:11 +0000 (14:42 +0100)]
vout: use current table info for epg

5 years agoinput: item: point to store current epg table
Francois Cartegnie [Tue, 27 Dec 2016 13:41:41 +0000 (14:41 +0100)]
input: item: point to store current epg table

5 years agoaout: Do not try to resample without filter
Julian Scheel [Wed, 28 Dec 2016 08:01:03 +0000 (09:01 +0100)]
aout: Do not try to resample without filter

If no resampling filter is available it makes no sense to try to
resample the audio to compensate for a clock drift. This avoids two
warnings for each call of aout_DecSynchronize, because it tries to start
resampling just to stop it immediately because no filter is available.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
5 years agoqt: controller: Only react to external fullscreen changes
Hugo Beauzée-Luyssen [Tue, 27 Dec 2016 18:02:34 +0000 (19:02 +0100)]
qt: controller: Only react to external fullscreen changes

And assume the playlist's "fullscreen" variable to be the reference
value.
Fix #17054

5 years agoqt: controller: Don't connect the controller and MIM in a loop
Hugo Beauzée-Luyssen [Tue, 27 Dec 2016 17:34:04 +0000 (18:34 +0100)]
qt: controller: Don't connect the controller and MIM in a loop

This ends up connecting the 2 way too many times

5 years agoVT: only apply macOS flags to macOS
Jean-Baptiste Kempf [Tue, 27 Dec 2016 09:15:48 +0000 (10:15 +0100)]
VT: only apply macOS flags to macOS

5 years agopacketizer: h264: keep container color profile
Francois Cartegnie [Mon, 26 Dec 2016 17:33:53 +0000 (18:33 +0100)]
packetizer: h264: keep container color profile

5 years agodemux: hxxx: add ARIB STD_B67 define
Francois Cartegnie [Mon, 26 Dec 2016 16:45:39 +0000 (17:45 +0100)]
demux: hxxx: add ARIB STD_B67 define

Valid for HEVC

5 years agoUse QT file browser functions which return URLs when possible.
Frank Praznik [Wed, 21 Dec 2016 19:04:02 +0000 (14:04 -0500)]
Use QT file browser functions which return URLs when possible.

The getOpenFileNames() and getSaveFileName() methods of QFileDialog only work
on local paths and return a blank string if the dialog is used to select a
remote file (e.g., on a Samba share).  As of Qt 5.2 the QFileDialog class
provides the methods getOpenFileUrls() and getSaveFileUrl() that return QUrl
objects which can contain URLs to remote paths.  Use these methods when an
appropriate version of the Qt libraries are available so that the paths to
remote files are returned correctly when selected via the various file
selection dialogs.

Signed-off-by: Frank Praznik <frank.praznik@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocodec: vpx: copy the source projection metadata into the output
Steve Lhomme [Tue, 6 Dec 2016 09:13:25 +0000 (10:13 +0100)]
codec: vpx: copy the source projection metadata into the output

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocodec: avcodec: copy the source pose into the output
Steve Lhomme [Tue, 6 Dec 2016 09:13:24 +0000 (10:13 +0100)]
codec: avcodec: copy the source pose into the output

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodemux: libasf: change peek type
Francois Cartegnie [Sun, 25 Dec 2016 21:58:03 +0000 (22:58 +0100)]
demux: libasf: change peek type

5 years agodemux: libasf: strings conversion can fail
Francois Cartegnie [Sun, 25 Dec 2016 21:24:58 +0000 (22:24 +0100)]
demux: libasf: strings conversion can fail

And drops empty string hack

5 years agodemux: libasf: fix read overflow
Francois Cartegnie [Sun, 25 Dec 2016 21:23:38 +0000 (22:23 +0100)]
demux: libasf: fix read overflow

on 32bits SIZE_T

5 years agodemux: libasf: change size type in helpers
Francois Cartegnie [Sun, 25 Dec 2016 21:25:48 +0000 (22:25 +0100)]
demux: libasf: change size type in helpers

5 years agodemux: libasf: fix integer overflow
Francois Cartegnie [Sun, 25 Dec 2016 21:05:24 +0000 (22:05 +0100)]
demux: libasf: fix integer overflow

and read overflow on usage

5 years agodemux: libasf: fix saved struct size
Francois Cartegnie [Sun, 25 Dec 2016 21:03:37 +0000 (22:03 +0100)]
demux: libasf: fix saved struct size

5 years agodemux: libasf: fix unchecked allocs/charset conversion
Francois Cartegnie [Sun, 25 Dec 2016 20:38:15 +0000 (21:38 +0100)]
demux: libasf: fix unchecked allocs/charset conversion

5 years agoavcodec: add missing color xfer mappings
Francois Cartegnie [Sun, 25 Dec 2016 17:14:33 +0000 (18:14 +0100)]
avcodec: add missing color xfer mappings

5 years agopacketizer: vc1: handle color spaces
Francois Cartegnie [Sun, 25 Dec 2016 16:58:36 +0000 (17:58 +0100)]
packetizer: vc1: handle color spaces

5 years agovlc_es: add BT470 and smpte240 xfer functions and more aliases
Francois Cartegnie [Sun, 25 Dec 2016 16:57:48 +0000 (17:57 +0100)]
vlc_es: add BT470 and smpte240 xfer functions and more aliases

5 years agovlc_es: add FCC1953/BT470 System M color primary and more aliases
Francois Cartegnie [Sun, 25 Dec 2016 16:38:15 +0000 (17:38 +0100)]
vlc_es: add FCC1953/BT470 System M color primary and more aliases

5 years agoes_out: add array guards
Francois Cartegnie [Sun, 25 Dec 2016 17:54:35 +0000 (18:54 +0100)]
es_out: add array guards

5 years agoes_out: fix read overflow
Francois Cartegnie [Sun, 25 Dec 2016 17:48:38 +0000 (18:48 +0100)]
es_out: fix read overflow

5 years agovlc_es: remove translated strings
Francois Cartegnie [Sun, 25 Dec 2016 17:43:59 +0000 (18:43 +0100)]
vlc_es: remove translated strings

Useless

5 years agopacketizer: mlp: fix endless loop
Francois Cartegnie [Fri, 23 Dec 2016 16:42:28 +0000 (17:42 +0100)]
packetizer: mlp: fix endless loop

5 years agopacketizer: dts: fix endless loop
Francois Cartegnie [Fri, 23 Dec 2016 16:42:12 +0000 (17:42 +0100)]
packetizer: dts: fix endless loop

5 years agopacketizer: a52: fix endless loop
Francois Cartegnie [Fri, 23 Dec 2016 16:35:20 +0000 (17:35 +0100)]
packetizer: a52: fix endless loop

On flush, we need to make sure there is enough frame data
available otherwise data is never dequeued and we push only
uninitialized buffer to decoder. (as we do not check
GetBytes's return code)

refs streams/ts/transport_error.ts

5 years agoshare/icons: update xmas cone
Francois Cartegnie [Fri, 23 Dec 2016 11:34:19 +0000 (12:34 +0100)]
share/icons: update xmas cone

old cone inconsistency

5 years agoglobalhotkeys/xcb: fix leak on error
Rémi Denis-Courmont [Thu, 22 Dec 2016 20:04:00 +0000 (22:04 +0200)]
globalhotkeys/xcb: fix leak on error

5 years agoglobalhotkeys/xcb: fix memory leaks
Rémi Denis-Courmont [Thu, 22 Dec 2016 20:03:33 +0000 (22:03 +0200)]
globalhotkeys/xcb: fix memory leaks

5 years agoContribs: use netcologne mirror instead of heanet
Jean-Baptiste Kempf [Thu, 22 Dec 2016 19:13:35 +0000 (20:13 +0100)]
Contribs: use netcologne mirror instead of heanet

5 years agoMKV: don't shout in debug messages for Chapters
Jean-Baptiste Kempf [Thu, 22 Dec 2016 18:50:02 +0000 (19:50 +0100)]
MKV: don't shout in debug messages for Chapters

5 years agodemux: ts: rework scrambling check
Francois Cartegnie [Thu, 22 Dec 2016 15:12:14 +0000 (16:12 +0100)]
demux: ts: rework scrambling check

5 years agodemux: ts: don't pass corrupted packets to sections handler
Francois Cartegnie [Thu, 22 Dec 2016 14:58:18 +0000 (15:58 +0100)]
demux: ts: don't pass corrupted packets to sections handler

5 years agodemux: ts: sections: remove packet size check
Francois Cartegnie [Thu, 22 Dec 2016 14:45:26 +0000 (15:45 +0100)]
demux: ts: sections: remove packet size check

5 years agodemux: ts: rework the corrupted/discontinuity/duplicate handling
Francois Cartegnie [Wed, 21 Dec 2016 17:13:27 +0000 (18:13 +0100)]
demux: ts: rework the corrupted/discontinuity/duplicate handling

So we stop parsing known corrupted headers for timestamps
and drop duplicates for psi sections

5 years agovlc.desktop: announce support for DVD ISOs
Petter Reinholdtsen [Wed, 26 Oct 2016 18:47:51 +0000 (20:47 +0200)]
vlc.desktop: announce support for DVD ISOs

When using KDE and the graphical file managers dolphin and konqueror,
vlc is not listed as an option to open a DVD ISO.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoavcodec/audio: fix inconsistent sample rate
Thomas Guillem [Thu, 22 Dec 2016 16:24:46 +0000 (17:24 +0100)]
avcodec/audio: fix inconsistent sample rate

The sample rate was only initialized during opening because the
(fmt_out.audio.i_rate != ctx->sample_rate) check was always false after the
SetupOutputFormat() call. To fix this issue, move SetupOutputFormat() after a
successfull call to avcodec_receive_frame() and after the date_Init() check.

5 years agoavcodec/audio: fix frame leak in case of drop
Thomas Guillem [Thu, 22 Dec 2016 16:23:03 +0000 (17:23 +0100)]
avcodec/audio: fix frame leak in case of drop

5 years agocompat: ffsll use long long int as argument
Jean-Baptiste Kempf [Wed, 21 Dec 2016 16:41:12 +0000 (17:41 +0100)]
compat: ffsll use long long int as argument

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocontribs: mpg123: put back libm patch
Thomas Guillem [Thu, 22 Dec 2016 14:43:37 +0000 (15:43 +0100)]
contribs: mpg123: put back libm patch

5 years agodemux: ts: early reject corrupted packets
Francois Cartegnie [Thu, 22 Dec 2016 12:36:45 +0000 (13:36 +0100)]
demux: ts: early reject corrupted packets

There's no way to know if any of the bits is valid.
We can't even flag pid with corrupted/discontinuity
as its number can also be corrupted.

5 years agodemux: ts: reject incorrect sized packets
Francois Cartegnie [Thu, 22 Dec 2016 12:36:23 +0000 (13:36 +0100)]
demux: ts: reject incorrect sized packets

5 years agoQt: missing lock in infos panel update
Francois Cartegnie [Thu, 22 Dec 2016 10:39:45 +0000 (11:39 +0100)]
Qt: missing lock in infos panel update

crashes on heavy/frequent updates

5 years agodemux: ts: move away SI callbacks debugs
Francois Cartegnie [Wed, 21 Dec 2016 17:22:23 +0000 (18:22 +0100)]
demux: ts: move away SI callbacks debugs

5 years agomacosx: Move diagnostic ignore in VLCFSPanelController
Marvin Scholz [Wed, 21 Dec 2016 21:01:12 +0000 (22:01 +0100)]
macosx: Move diagnostic ignore in VLCFSPanelController

This moves the partial availability ignore to a better position.

5 years agoConfigure Obj-C to fail with partial-availability
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:22:07 +0000 (21:22 +0100)]
Configure Obj-C to fail with partial-availability

This is quite drastic but will avoid some silent failures on old OS X
versions, like 10.7

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: disable warnings around Slider.isVertical
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:21:40 +0000 (21:21 +0100)]
macOS: disable warnings around Slider.isVertical

This is temporary, until we find a better solution

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: disable warnings for FSPanelController
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:21:53 +0000 (21:21 +0100)]
macOS: disable warnings for FSPanelController

Some drawing directives are too new, this code needs review and fixes

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: statusbar do not warn about modern selectors for visibility
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:22:02 +0000 (21:22 +0100)]
macOS: statusbar do not warn about modern selectors for visibility

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: playlist, do not silently call objectAtIndexedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:13:48 +0000 (21:13 +0100)]
macOS: playlist, do not silently call objectAtIndexedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: OpenWindow, do not silently call objectAtIndexedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:21:21 +0000 (21:21 +0100)]
macOS: OpenWindow, do not silently call objectAtIndexedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS: DialogProvider, do not silently call objectAtIndexedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 20:21:13 +0000 (21:21 +0100)]
macOS: DialogProvider, do not silently call objectAtIndexedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacosx: Fix more weak NSWindow references
Marvin Scholz [Fri, 9 Sep 2016 13:58:23 +0000 (15:58 +0200)]
macosx: Fix more weak NSWindow references

Weak NSWindow references are not allowed on 10.7,
and will lead to runtime crashes.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS vout: do not warn about modern selectors
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:36 +0000 (20:23 +0100)]
macOS vout: do not warn about modern selectors

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacOS vout: correctly redefine missing SDK declarations
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:28 +0000 (20:23 +0100)]
macOS vout: correctly redefine missing SDK declarations

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoNSSpeech: do not silently call objectAtIndexedSubscript and objectForKeyedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:24 +0000 (20:23 +0100)]
NSSpeech: do not silently call objectAtIndexedSubscript and objectForKeyedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoBonjour: do not silently call objectAtIndexedSubscript and objectForKeyedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:21 +0000 (20:23 +0100)]
Bonjour: do not silently call objectAtIndexedSubscript and objectForKeyedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoos_notification has an OS target of 10.8
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:15 +0000 (20:23 +0100)]
os_notification has an OS target of 10.8

All the NSUser* classes are 10.8; but the rest of the code, using Growl,
should still work in 10.7. The runtime checks seems correct for 10.7.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoKeychain: do not silently call objectAtIndexedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:23:05 +0000 (20:23 +0100)]
Keychain: do not silently call objectAtIndexedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoKeychain: check osx version at runtime to avoid impossible properties
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:22:54 +0000 (20:22 +0100)]
Keychain: check osx version at runtime to avoid impossible properties

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoVideotoolbox: fix compilation for 10.8
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:22:47 +0000 (20:22 +0100)]
Videotoolbox: fix compilation for 10.8

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoVideotoolbox has an OS target of 10.8
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:22:41 +0000 (20:22 +0100)]
Videotoolbox has an OS target of 10.8

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoAVcapture: do not silently call objectAtIndexedSubscript
Jean-Baptiste Kempf [Wed, 21 Dec 2016 19:22:19 +0000 (20:22 +0100)]
AVcapture: do not silently call objectAtIndexedSubscript

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocontribs: mpg123: update to 1.23.8
Thomas Guillem [Wed, 21 Dec 2016 17:07:27 +0000 (18:07 +0100)]
contribs: mpg123: update to 1.23.8

5 years agomacosx: Remove unused interface builder plugin
Marvin Scholz [Wed, 21 Dec 2016 16:02:55 +0000 (17:02 +0100)]
macosx: Remove unused interface builder plugin

5 years agodemux/mp4: fix null-deref when FromCharset() fails
Thomas Guillem [Wed, 21 Dec 2016 15:20:17 +0000 (16:20 +0100)]
demux/mp4: fix null-deref when FromCharset() fails

FromCharset() can return NULL in case of error.

This fixes a regression introduced by 810539f.

5 years agodemux: ts: fix regression with incorrect pes headers
Francois Cartegnie [Wed, 21 Dec 2016 12:58:12 +0000 (13:58 +0100)]
demux: ts: fix regression with incorrect pes headers

Just discard dts/pts, not payload.

refs sample OC3.demo.ts #16679

5 years agovout/android: change AWindowHandler initialisation
Thomas Guillem [Wed, 21 Dec 2016 11:54:36 +0000 (12:54 +0100)]
vout/android: change AWindowHandler initialisation

Rename setCallback to register. This new method will return a special flag that
indicate if the video layout could be changed on the java side. If it's not the
case, the "android-display" module will be disabled and only the gles2 module
will work.

5 years agovout/android: rename AWindowHandler_setWindowLayout
Thomas Guillem [Wed, 21 Dec 2016 11:53:48 +0000 (12:53 +0100)]
vout/android: rename AWindowHandler_setWindowLayout

5 years agovout/android: display: can't reset pictures
Thomas Guillem [Wed, 21 Dec 2016 11:50:58 +0000 (12:50 +0100)]
vout/android: display: can't reset pictures

5 years agovout/android: display: fix ClearSurface for SW rendering
Thomas Guillem [Wed, 21 Dec 2016 11:50:28 +0000 (12:50 +0100)]
vout/android: display: fix ClearSurface for SW rendering

5 years agoContribs: VPX, pass the Extra_Cflags too for macOS
Jean-Baptiste Kempf [Wed, 21 Dec 2016 13:13:49 +0000 (14:13 +0100)]
Contribs: VPX, pass the Extra_Cflags too for macOS

5 years agoContribs: use extra_cflags for Cmake too
Jean-Baptiste Kempf [Wed, 21 Dec 2016 13:05:26 +0000 (14:05 +0100)]
Contribs: use extra_cflags for Cmake too

5 years agoVPX: remove duplicate flags
Jean-Baptiste Kempf [Wed, 21 Dec 2016 12:59:08 +0000 (13:59 +0100)]
VPX: remove duplicate flags

5 years agoqt: fix compilation on Qt4
KO Myung-Hun [Tue, 20 Dec 2016 12:34:39 +0000 (21:34 +0900)]
qt: fix compilation on Qt4

QMap::last() was introduced in Qt 5.2

Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
5 years agoFortunes about kind-napping and jails...
Jean-Baptiste Kempf [Wed, 21 Dec 2016 00:21:54 +0000 (01:21 +0100)]
Fortunes about kind-napping and jails...