vlc.git
4 years agosrc: don't require a valid channel layout
Thomas Guillem [Fri, 7 Jul 2017 09:40:58 +0000 (11:40 +0200)]
src: don't require a valid channel layout

4 years agougly: don't require a valid channel layout
Thomas Guillem [Fri, 7 Jul 2017 09:40:18 +0000 (11:40 +0200)]
ugly: don't require a valid channel layout

4 years agospeex: don't require a valid channel layout
Thomas Guillem [Fri, 7 Jul 2017 09:40:07 +0000 (11:40 +0200)]
speex: don't require a valid channel layout

4 years agosoxr: don't require a valid channel layout
Thomas Guillem [Fri, 7 Jul 2017 09:39:58 +0000 (11:39 +0200)]
soxr: don't require a valid channel layout

4 years agobandlimited: don't require a valid channel layout
Thomas Guillem [Fri, 7 Jul 2017 09:39:44 +0000 (11:39 +0200)]
bandlimited: don't require a valid channel layout

4 years agohw: vaapi: chroma: don't keep fallback image
Thomas Guillem [Mon, 10 Jul 2017 13:53:02 +0000 (15:53 +0200)]
hw: vaapi: chroma: don't keep fallback image

Fix vlc_vaapi_DestroyImage() called on an invalid vadpy. Keep it simpler as
this case is the worst case scenario and shouldn't happen unless if forced by
the user.

PS: contrary to other vaapi filters, the download filter doesn't keep a ref on the
vadpy (except during pf_filter via src_pic).

4 years agochromecast: Move Control implementation in the class.
Hugo Beauzée-Luyssen [Mon, 10 Jul 2017 12:10:39 +0000 (14:10 +0200)]
chromecast: Move Control implementation in the class.

This avoids prefexing everything with p_sys-> and allows one to used the
private members

4 years agocodec: videotoolbox: restart from pps/sps change only on iframes
Francois Cartegnie [Mon, 10 Jul 2017 11:57:41 +0000 (13:57 +0200)]
codec: videotoolbox: restart from pps/sps change only on iframes

4 years agohw: vaapi-deint: replace struct memcpy by direct copy
Victorien Le Couviour--Tuffet [Mon, 10 Jul 2017 09:47:00 +0000 (11:47 +0200)]
hw: vaapi-deint: replace struct memcpy by direct copy

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
4 years agoomxil: fix compilation
Jean-Baptiste Kempf [Mon, 10 Jul 2017 08:08:00 +0000 (10:08 +0200)]
omxil: fix compilation

4 years agomacosx: Correctly remove FSPanel.xib from build system
David Fuhrmann [Sun, 9 Jul 2017 18:07:16 +0000 (20:07 +0200)]
macosx: Correctly remove FSPanel.xib from build system

This fixes compilation as FSPanel.xib was not correctly removed
from buildsystem before. Also removes file from xcode project.

4 years agodvdnav: remove semi-broken seek on failure, fix warning
Rémi Denis-Courmont [Sun, 9 Jul 2017 13:43:40 +0000 (16:43 +0300)]
dvdnav: remove semi-broken seek on failure, fix warning

This was not handling the case of error when seeking due to a previous
error (hence the warning, in fact).

4 years agodemux: restore stream offset before probing (fixes #18502)
Rémi Denis-Courmont [Sun, 9 Jul 2017 13:29:58 +0000 (16:29 +0300)]
demux: restore stream offset before probing (fixes #18502)

There are (roughly) three ways that a demux probe function can fail:
- file type does not match,
- file type matches but corruption is detected early,
- unexpected I/O error.

In the first case, the demuxer will typically not move the "virtual"
file offset - mostly using vlc_stream_Peek(). But in the later two
cases, the demuxer will typically have moved the file offset forward.

There are no generic ways to fix it. Seeking back might fail (leading
to ingored result warning). So we try to fix it in generic way before
trying the next demuxer. If it fails, such as due to unrecoverable I/O
error, we just skip it completely.

4 years agoxa: remove struct member
Rémi Denis-Courmont [Sun, 9 Jul 2017 13:22:04 +0000 (16:22 +0300)]
xa: remove struct member

4 years agodemux: ps: missing es_format_Init
Francois Cartegnie [Sun, 9 Jul 2017 10:26:31 +0000 (12:26 +0200)]
demux: ps: missing es_format_Init

4 years agodemux: ps: remove define
Francois Cartegnie [Sun, 9 Jul 2017 12:21:51 +0000 (14:21 +0200)]
demux: ps: remove define

4 years agodemux: ps: always shift 0xbd es id
Francois Cartegnie [Sun, 9 Jul 2017 11:54:41 +0000 (13:54 +0200)]
demux: ps: always shift 0xbd es id

4 years agodecoder: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme [Sun, 9 Jul 2017 08:27:47 +0000 (10:27 +0200)]
decoder: don't init an es_format_t before calling es_format_Copy()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agotranscode: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme [Sun, 9 Jul 2017 08:27:46 +0000 (10:27 +0200)]
transcode: don't init an es_format_t before calling es_format_Copy()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux:mp4: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme [Sun, 9 Jul 2017 08:27:45 +0000 (10:27 +0200)]
demux:mp4: don't init an es_format_t before calling es_format_Copy()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoaccess:bluray: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme [Sun, 9 Jul 2017 08:27:44 +0000 (10:27 +0200)]
access:bluray: don't init an es_format_t before calling es_format_Copy()

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux: remove old tag-skipping kludge
Rémi Denis-Courmont [Sat, 8 Jul 2017 10:16:08 +0000 (13:16 +0300)]
demux: remove old tag-skipping kludge

This becomes redundant with the skiptags stream filter.

4 years agoskiptags: properly conceal ID3/APE tags (fixes #18501)
Rémi Denis-Courmont [Sat, 8 Jul 2017 09:24:27 +0000 (12:24 +0300)]
skiptags: properly conceal ID3/APE tags (fixes #18501)

As most demuxers cannot handle tags at the beginning of their input
streams, the demuxer code has automatically skipped them for a long
time.

Unfortunately, a number of demuxers also assume that the initial stream
byte offset is zero (while some others seem to assume zero in some paths
and not in others). This seems like a reasonable assumption. And even if
it were not, fixing all affected stream filters and demuxers to perform
only relative seeking seems impractical and unpalatable.

This stream filter shifts the stream byte offset so that the tags are
entirely invisible, and the demuxer can assume the start is at offset 0.

Of couse, the tags must still be accessible to the meta extraction
engine(s). The TagLib plugin uses "low-level" vlc_access_NewMRL() so it
is not subject to stream filters, and not affected by this change.
(This change does however remove tags from "demuxdump".)

NOTE: On the one hand, this also enables demuxing a file format with
embedded absolute file offsets, if the tags were prepended after muxing.
On the other hand, it conversely breaks demuxing such a file format if
the tags are added during muxing. As far as I know, tags are normally
appended rather than prepended to avoid this ambiguity.

4 years agoadaptive:fakeES: no need to initialize before es_format_Copy
Steve Lhomme [Sun, 9 Jul 2017 08:20:03 +0000 (10:20 +0200)]
adaptive:fakeES: no need to initialize before es_format_Copy

--
replaces https://patches.videolan.org/patch/17293/

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoavodec: call es_format_Change() where possible
Steve Lhomme [Wed, 5 Jul 2017 11:36:25 +0000 (13:36 +0200)]
avodec: call es_format_Change() where possible

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess:avio: remove dead code
Steve Lhomme [Fri, 7 Jul 2017 07:20:37 +0000 (09:20 +0200)]
access:avio: remove dead code

We require libavformat >= 57

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodecklink: code cleaning
Steve Lhomme [Fri, 7 Jul 2017 10:11:13 +0000 (12:11 +0200)]
decklink: code cleaning

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodecklink: use the proper FourCC for VLC_CODEC_EIA608_1
Steve Lhomme [Fri, 7 Jul 2017 06:55:39 +0000 (08:55 +0200)]
decklink: use the proper FourCC for VLC_CODEC_EIA608_1

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agolinsys_hdsdi: use the proper FourCC for I420
Steve Lhomme [Fri, 7 Jul 2017 10:10:56 +0000 (12:10 +0200)]
linsys_hdsdi: use the proper FourCC for I420

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agolinsys_hdsdi: the audio output format is VLC_CODEC_S16L
Steve Lhomme [Fri, 7 Jul 2017 06:51:16 +0000 (08:51 +0200)]
linsys_hdsdi: the audio output format is VLC_CODEC_S16L

VLC_CODEC_RAW_PCM + 16 bits = VLC_CODEC_S16L

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:au: map raw PCM directly to the right format
Steve Lhomme [Thu, 6 Jul 2017 15:10:44 +0000 (17:10 +0200)]
demux:au: map raw PCM directly to the right format

Rather than the interim raw signed big-endian.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mp4: make sure we don't touch spu data on non SPU tracks
Steve Lhomme [Thu, 6 Jul 2017 12:51:05 +0000 (14:51 +0200)]
demux:mp4: make sure we don't touch spu data on non SPU tracks

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: do not write in subs if it's not a SPU_ES track
Steve Lhomme [Thu, 6 Jul 2017 13:09:49 +0000 (15:09 +0200)]
demux:mkv: do not write in subs if it's not a SPU_ES track

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: map "A_PCM/FLOAT/IEEE" to ('a','f','l','t')
Steve Lhomme [Thu, 6 Jul 2017 14:56:33 +0000 (16:56 +0200)]
demux:mkv: map "A_PCM/FLOAT/IEEE" to ('a','f','l','t')

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: do not write audio/video elements in a mismatched track
Steve Lhomme [Thu, 6 Jul 2017 12:32:33 +0000 (14:32 +0200)]
demux:mkv: do not write audio/video elements in a mismatched track

It will overwrite values in the es_format_t union incorrectly.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: remove dual initialization
Steve Lhomme [Thu, 6 Jul 2017 12:27:36 +0000 (14:27 +0200)]
demux:mkv: remove dual initialization

It's already done when we initialize the ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovlc_es: use a common define for the initialized SPU palette
Steve Lhomme [Thu, 6 Jul 2017 12:49:59 +0000 (14:49 +0200)]
vlc_es: use a common define for the initialized SPU palette

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovlc_codec: make sure we check the return value of decoder_Update[Audio|Video]Format
Steve Lhomme [Thu, 6 Jul 2017 13:42:09 +0000 (15:42 +0200)]
vlc_codec: make sure we check the return value of decoder_Update[Audio|Video]Format

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agovlc_codec: make sure we don't update the audio/video format on the wrong kind of...
Steve Lhomme [Thu, 6 Jul 2017 13:40:51 +0000 (15:40 +0200)]
vlc_codec: make sure we don't update the audio/video format on the wrong kind of track

We would write in the wrong parts of the es_format_t union.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoes_out: only copy the SPU strings on SPU tracks in EsOutUpdateInfo()
Steve Lhomme [Thu, 6 Jul 2017 12:51:59 +0000 (14:51 +0200)]
es_out: only copy the SPU strings on SPU tracks in EsOutUpdateInfo()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodecoder/packetizer: no need to set the output ES category anymore
Steve Lhomme [Fri, 7 Jul 2017 08:37:50 +0000 (10:37 +0200)]
decoder/packetizer: no need to set the output ES category anymore

It's done when loading the decoder/packetizer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoes_out: use an enum es_format_category_e to check the ES category
Steve Lhomme [Thu, 6 Jul 2017 10:12:36 +0000 (12:12 +0200)]
es_out: use an enum es_format_category_e to check the ES category

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agostream_filter:hds: the xml reader type is not an ES category
Steve Lhomme [Thu, 6 Jul 2017 10:04:20 +0000 (12:04 +0200)]
stream_filter:hds: the xml reader type is not an ES category

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mpeg: use es_format_Change when setting the proper ES category
Steve Lhomme [Thu, 6 Jul 2017 09:59:18 +0000 (11:59 +0200)]
demux:mpeg: use es_format_Change when setting the proper ES category

The format should have been created in ts_es_New()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: read the track type early to init the ES properly
Steve Lhomme [Thu, 6 Jul 2017 09:42:21 +0000 (11:42 +0200)]
demux:mkv: read the track type early to init the ES properly

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:mkv: remove redundant memset
Steve Lhomme [Thu, 6 Jul 2017 09:16:32 +0000 (11:16 +0200)]
demux:mkv: remove redundant memset

It's already done in es_format_Init()

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:avi: use enum es_format_category_e for the ES category internally
Steve Lhomme [Thu, 6 Jul 2017 08:59:34 +0000 (10:59 +0200)]
demux:avi: use enum es_format_category_e for the ES category internally

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux:avi: remove useless macro
Steve Lhomme [Thu, 6 Jul 2017 08:58:49 +0000 (10:58 +0200)]
demux:avi: remove useless macro

the pointers are never NULL

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess:dshow: remove write-only flag
Steve Lhomme [Thu, 6 Jul 2017 08:45:37 +0000 (10:45 +0200)]
access:dshow: remove write-only flag

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess:dshow: the chroma should be a VIDEO_ES
Steve Lhomme [Thu, 6 Jul 2017 08:40:43 +0000 (10:40 +0200)]
access:dshow: the chroma should be a VIDEO_ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoaccess:imem: find the ES category earlier
Steve Lhomme [Wed, 5 Jul 2017 13:45:00 +0000 (15:45 +0200)]
access:imem: find the ES category earlier

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agofilter_chain: pass the ES category to use
Steve Lhomme [Wed, 5 Jul 2017 13:34:18 +0000 (15:34 +0200)]
filter_chain: pass the ES category to use

This will avoid creating ES with UNKNOWN_ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoa52: reset the ES to AUDIO_ES on error
Steve Lhomme [Wed, 5 Jul 2017 13:18:49 +0000 (15:18 +0200)]
a52: reset the ES to AUDIO_ES on error

rather than UNKNOWN_ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodca: reset the ES to AUDIO_ES on error
Steve Lhomme [Wed, 5 Jul 2017 13:18:32 +0000 (15:18 +0200)]
dca: reset the ES to AUDIO_ES on error

rather than UNKNOWN_ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agomad: reset the ES to AUDIO_ES on error
Steve Lhomme [Wed, 5 Jul 2017 13:18:14 +0000 (15:18 +0200)]
mad: reset the ES to AUDIO_ES on error

rather than UNKNOWN_ES

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agoavodec: call es_format_Change() where possible
Steve Lhomme [Wed, 5 Jul 2017 11:36:25 +0000 (13:36 +0200)]
avodec: call es_format_Change() where possible

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 years agodemux: fix leaks
Rémi Denis-Courmont [Sat, 8 Jul 2017 13:57:51 +0000 (16:57 +0300)]
demux: fix leaks

4 years agodemux: fix multiple frees
Rémi Denis-Courmont [Sat, 8 Jul 2017 13:49:31 +0000 (16:49 +0300)]
demux: fix multiple frees

4 years agonoseek: demux filter to disable seeking
Rémi Denis-Courmont [Sat, 8 Jul 2017 13:26:02 +0000 (16:26 +0300)]
noseek: demux filter to disable seeking

4 years agodemux: fix massive leak
Rémi Denis-Courmont [Sat, 8 Jul 2017 13:33:54 +0000 (16:33 +0300)]
demux: fix massive leak

4 years agodemux: fix missing initializer
Rémi Denis-Courmont [Sat, 8 Jul 2017 13:22:46 +0000 (16:22 +0300)]
demux: fix missing initializer

4 years agomacosx: remove old, unused FSPanel xib
Felix Paul Kühne [Sun, 2 Jul 2017 16:33:10 +0000 (18:33 +0200)]
macosx: remove old, unused FSPanel xib

4 years agowebservices: acoustid: inflate transferts
Francois Cartegnie [Fri, 7 Jul 2017 18:24:20 +0000 (20:24 +0200)]
webservices: acoustid: inflate transferts

4 years agoavi: handle I/O errors in probe
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:56:20 +0000 (23:56 +0300)]
avi: handle I/O errors in probe

4 years agopva: handle I/O error
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:51:43 +0000 (23:51 +0300)]
pva: handle I/O error

4 years agoaiff: handle I/O error
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:50:47 +0000 (23:50 +0300)]
aiff: handle I/O error

4 years agomjpeg: handle I/O errors
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:50:09 +0000 (23:50 +0300)]
mjpeg: handle I/O errors

4 years agomjpeg: do not skip at end
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:49:44 +0000 (23:49 +0300)]
mjpeg: do not skip at end

There is really no point skipping data from the input if the next thing
is the end of the stream.

4 years agonsv: handle I/O errors
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:46:53 +0000 (23:46 +0300)]
nsv: handle I/O errors

4 years agosmf: offset is always positive, fix warnings
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:42:57 +0000 (23:42 +0300)]
smf: offset is always positive, fix warnings

4 years agosmf: handle I/O errors
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:36:20 +0000 (23:36 +0300)]
smf: handle I/O errors

4 years agosmf: fix potential overflow
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:34:37 +0000 (23:34 +0300)]
smf: fix potential overflow

Skipping more than SSIZE_MAX bytes is undefined. This could fail on
32-bits systems.

4 years agoreal: fix fall through warning
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:28:28 +0000 (23:28 +0300)]
real: fix fall through warning

4 years agoreal: remove duplicated variable
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:28:17 +0000 (23:28 +0300)]
real: remove duplicated variable

4 years agoreal: handle I/O errors
Rémi Denis-Courmont [Fri, 7 Jul 2017 20:28:02 +0000 (23:28 +0300)]
real: handle I/O errors

4 years agortp: fix trailing white space and fall through comment
Rémi Denis-Courmont [Fri, 7 Jul 2017 18:05:32 +0000 (21:05 +0300)]
rtp: fix trailing white space and fall through comment

4 years agortp: fix shadowing
Rémi Denis-Courmont [Fri, 7 Jul 2017 18:05:13 +0000 (21:05 +0300)]
rtp: fix shadowing

4 years agojson: fix fall through warnings
Rémi Denis-Courmont [Fri, 7 Jul 2017 18:02:14 +0000 (21:02 +0300)]
json: fix fall through warnings

4 years agohttpd: simplify poll() handling, fix warning
Rémi Denis-Courmont [Fri, 7 Jul 2017 18:00:24 +0000 (21:00 +0300)]
httpd: simplify poll() handling, fix warning

4 years agotranscode: do not write to const pointer
Rémi Denis-Courmont [Fri, 7 Jul 2017 17:45:24 +0000 (20:45 +0300)]
transcode: do not write to const pointer

4 years agoaddons: vorepository: update api uri
Francois Cartegnie [Thu, 6 Jul 2017 16:03:00 +0000 (18:03 +0200)]
addons: vorepository: update api uri

4 years agoaddons: vorepository: inflate transferts
Francois Cartegnie [Fri, 7 Jul 2017 17:22:38 +0000 (19:22 +0200)]
addons: vorepository: inflate transferts

4 years agovaapi: fix duplicate const *again*
Rémi Denis-Courmont [Fri, 7 Jul 2017 17:32:51 +0000 (20:32 +0300)]
vaapi: fix duplicate const *again*

4 years agocodec:omxil: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:21 +0000 (17:09 +0200)]
codec:omxil: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agostream_out:rtp: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:20 +0000 (17:09 +0200)]
stream_out:rtp: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agostream_out:bridge: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:19 +0000 (17:09 +0200)]
stream_out:bridge: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agomux:ogg: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:18 +0000 (17:09 +0200)]
mux:ogg: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agomux:asf: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:17 +0000 (17:09 +0200)]
mux:asf: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agots_psi: store the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:16 +0000 (17:09 +0200)]
ts_psi: store the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoavcodec: pass the ES category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:15 +0000 (17:09 +0200)]
avcodec: pass the ES category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agovlc_es: store the category as an enum es_format_category_e
Steve Lhomme [Wed, 5 Jul 2017 15:09:14 +0000 (17:09 +0200)]
vlc_es: store the category as an enum es_format_category_e

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux:smooth: init a category variable to UNKNOWN_ES rather than 0
Steve Lhomme [Wed, 5 Jul 2017 15:00:32 +0000 (17:00 +0200)]
demux:smooth: init a category variable to UNKNOWN_ES rather than 0

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoinput:event: pass the ES category as enum es_format_category_e rather than int
Steve Lhomme [Wed, 5 Jul 2017 15:00:29 +0000 (17:00 +0200)]
input:event: pass the ES category as enum es_format_category_e rather than int

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoaiff: initialize the ES as AUDIO_ES category
Steve Lhomme [Wed, 5 Jul 2017 15:00:21 +0000 (17:00 +0200)]
aiff: initialize the ES as AUDIO_ES category

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agocaf: initialize the ES as AUDIO_ES category
Steve Lhomme [Wed, 5 Jul 2017 15:00:20 +0000 (17:00 +0200)]
caf: initialize the ES as AUDIO_ES category

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agompeg:tables: remove redundant include
Steve Lhomme [Wed, 5 Jul 2017 15:00:19 +0000 (17:00 +0200)]
mpeg:tables: remove redundant include

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodemux: initialize the ES from the known category
Steve Lhomme [Wed, 5 Jul 2017 15:00:18 +0000 (17:00 +0200)]
demux: initialize the ES from the known category

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agodecoder: initialize the ES from the known category
Steve Lhomme [Wed, 5 Jul 2017 15:00:17 +0000 (17:00 +0200)]
decoder: initialize the ES from the known category

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agocore: call fourcc_gen with the file extension it was created with
Steve Lhomme [Tue, 4 Jul 2017 15:50:57 +0000 (17:50 +0200)]
core: call fourcc_gen with the file extension it was created with

Helps compile with Windows Subsystem for Linux

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
4 years agoadjust: remove the useless variable lock
Steve Lhomme [Mon, 3 Jul 2017 07:47:55 +0000 (09:47 +0200)]
adjust: remove the useless variable lock

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>