vlc.git
41 hours agoBump dvdnav version requirement to 6.0.0 master
Jean-Baptiste Kempf [Sat, 16 Feb 2019 14:31:55 +0000 (15:31 +0100)]
Bump dvdnav version requirement to 6.0.0

41 hours agoContribs: update dvdread to 6.0.1
Jean-Baptiste Kempf [Sat, 16 Feb 2019 14:25:29 +0000 (15:25 +0100)]
Contribs: update dvdread to 6.0.1

44 hours agocontrib: gnutls: Drop connectx patch
David Fuhrmann [Sat, 16 Feb 2019 11:25:50 +0000 (12:25 +0100)]
contrib: gnutls: Drop connectx patch

connectx is available since macOS 10.11 and iOS 9, so this is not
needed anymore.

Note, this cannot be backported to 3.0 branch.

44 hours agocontrib: gnutls: Drop getentropy patch for macOS
David Fuhrmann [Fri, 15 Feb 2019 23:02:24 +0000 (00:02 +0100)]
contrib: gnutls: Drop getentropy patch for macOS

getentropy is correctly annotated since the macOS 10.13 SDK (at
least), and the gnutls check includes the correct header on macOS.
Therefore this patch is not needed anymore.

This also fixes current build failure as it avoids touching
configure.ac now.

2 days agoinput: remove INPUT_RATE_DEFAULT
Thomas Guillem [Fri, 15 Feb 2019 15:11:58 +0000 (16:11 +0100)]
input: remove INPUT_RATE_DEFAULT

2 days agoinput: change INPUT_RATE_MAX/INPUT_RATE_MIN
Thomas Guillem [Fri, 15 Feb 2019 15:11:50 +0000 (16:11 +0100)]
input: change INPUT_RATE_MAX/INPUT_RATE_MIN

Inverse them. Indeed, INPUT_RATE_MAX was the min and INPUT_RATE_MIN was the
max. The dbus module did the mistake.

2 days agovlm: use float for rate
Thomas Guillem [Fri, 15 Feb 2019 15:06:35 +0000 (16:06 +0100)]
vlm: use float for rate

2 days agogui: macos: use float for rate
Thomas Guillem [Fri, 15 Feb 2019 15:06:12 +0000 (16:06 +0100)]
gui: macos: use float for rate

2 days agogui: qt: use float for rate
Thomas Guillem [Fri, 15 Feb 2019 15:05:56 +0000 (16:05 +0100)]
gui: qt: use float for rate

2 days agoinput: change rate argument
Thomas Guillem [Fri, 15 Feb 2019 14:38:39 +0000 (15:38 +0100)]
input: change rate argument

Use a float and inverse it.

Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f).  Now, for a 4x speed, the float value will be 4.f.

2 days agoaout: change rate argument
Thomas Guillem [Fri, 15 Feb 2019 14:00:23 +0000 (15:00 +0100)]
aout: change rate argument

Inverse it.

Before, the float rate value for a 4x speed was 0.25f. Now, for a 4x speed, the
float value will be 4.f.

2 days agodecoder: change rate argument
Thomas Guillem [Fri, 15 Feb 2019 13:56:14 +0000 (14:56 +0100)]
decoder: change rate argument

Use a float and inverse it.

Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f).  Now, for a 4x speed, the float value will be 4.f.

2 days agoes_out: change rate argument
Thomas Guillem [Fri, 15 Feb 2019 13:09:09 +0000 (14:09 +0100)]
es_out: change rate argument

Inverse and use a float.

Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f).  Now, for a 4x speed, the float value will be 4.f.

2 days agoinput_clock: change rate argument
Thomas Guillem [Fri, 15 Feb 2019 11:52:59 +0000 (12:52 +0100)]
input_clock: change rate argument

Use a float and inverse it.

Before, the int rate value for a 4x speed was 250 (INPUT_RATE_DEFAULT / 250 =
4.f).  Now, for a 4x speed, the float value will be 4.f.

2 days agoes_out: merge with es_out_timeshift.h
Thomas Guillem [Fri, 15 Feb 2019 13:08:01 +0000 (14:08 +0100)]
es_out: merge with es_out_timeshift.h

2 days agodbus: remove "Getting All properties" log
Thomas Guillem [Fri, 15 Feb 2019 08:12:25 +0000 (09:12 +0100)]
dbus: remove "Getting All properties" log

Because:
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties
Getting All properties

3 days agodemux: es: handle ID3 CHAP (fix #7485)
Francois Cartegnie [Thu, 14 Feb 2019 17:56:02 +0000 (18:56 +0100)]
demux: es: handle ID3 CHAP (fix #7485)

Adapted from initial work by Isaac Park <isaac.a.park@gmail.com>

3 days agodemux: es: add support for chapters
Francois Cartegnie [Thu, 14 Feb 2019 15:21:55 +0000 (16:21 +0100)]
demux: es: add support for chapters

Adapted from initial work by Isaac Park <isaac.a.park@gmail.com>

3 days agodemux: es: refactor seek
Francois Cartegnie [Thu, 14 Feb 2019 14:40:16 +0000 (15:40 +0100)]
demux: es: refactor seek

3 days agodisplay: inline VoutDisplayDestroyRender()
Rémi Denis-Courmont [Thu, 14 Feb 2019 16:54:02 +0000 (18:54 +0200)]
display: inline VoutDisplayDestroyRender()

3 days agocontrib: Bump gnutls to 3.6.6
Hugo Beauzée-Luyssen [Wed, 13 Feb 2019 13:42:39 +0000 (14:42 +0100)]
contrib: Bump gnutls to 3.6.6

And drop upstreamed or now unrequired patches

3 days agocontrib: nettle: Bump verison to 3.4.1
Hugo Beauzée-Luyssen [Wed, 13 Feb 2019 10:53:40 +0000 (11:53 +0100)]
contrib: nettle: Bump verison to 3.4.1

4 days agodemux: ogg: only invalid pts on no granule interpolation
Francois Cartegnie [Wed, 13 Feb 2019 17:53:46 +0000 (18:53 +0100)]
demux: ogg: only invalid pts on no granule interpolation

4 days agodemux: ogg: check first frame granule index
Francois Cartegnie [Wed, 13 Feb 2019 16:58:53 +0000 (17:58 +0100)]
demux: ogg: check first frame granule index

4 days agodemux: ogg: fix theora header test
Francois Cartegnie [Wed, 13 Feb 2019 16:49:29 +0000 (17:49 +0100)]
demux: ogg: fix theora header test

Roundhay_Garden_Scene.ogv

4 days agodemux: ogg: rename field
Francois Cartegnie [Wed, 13 Feb 2019 16:08:19 +0000 (17:08 +0100)]
demux: ogg: rename field

4 days agocontrib: smb2: Fix macOS compilation
David Fuhrmann [Wed, 13 Feb 2019 17:42:58 +0000 (18:42 +0100)]
contrib: smb2: Fix macOS compilation

4 days agovariables: fix callback setup leak with non existent variable
Francois Cartegnie [Wed, 13 Feb 2019 11:14:22 +0000 (12:14 +0100)]
variables: fix callback setup leak with non existent variable

4 days agodemux: mp4: set bit per sample for twos
Francois Cartegnie [Wed, 13 Feb 2019 11:11:42 +0000 (12:11 +0100)]
demux: mp4: set bit per sample for twos

6b0bfe62329241e83990414b2c2edfcc5ab203f4 regression

4 days agodemux: mp4: set bitpersample for raw audio
Francois Cartegnie [Wed, 13 Feb 2019 11:11:15 +0000 (12:11 +0100)]
demux: mp4: set bitpersample for raw audio

4 days agodemux: mp4: add unspecified 0x0
Francois Cartegnie [Wed, 13 Feb 2019 11:10:45 +0000 (12:10 +0100)]
demux: mp4: add unspecified 0x0

5 days agosout: transcode: ensure audio format=codec on probing
Francois Cartegnie [Tue, 12 Feb 2019 22:09:11 +0000 (23:09 +0100)]
sout: transcode: ensure audio format=codec on probing

refs #21917

5 days agoinput: decoder: fix potential NULL deref on transcoding
Francois Cartegnie [Tue, 12 Feb 2019 17:49:28 +0000 (18:49 +0100)]
input: decoder: fix potential NULL deref on transcoding

946b67f964396056caba8cb3b62bdf9a976abfae regression

5 days agokeystore: try memory keystore on the first try
Thomas Guillem [Tue, 12 Feb 2019 14:25:27 +0000 (15:25 +0100)]
keystore: try memory keystore on the first try

This will speed up remote and protected accesses opening when the user already
entered a credential. Indeed, accessess generally call vlc_credential_get()
with NULL dialog title/fmt arguments first in order to get the password saved
from url/vlc-option but without triggering a dialog. Then if it is failing,
they call the same function with valid dialog arguments in order to trigger the
keystore and the dialog.

This commits will trigger the memory keystore from the first try. This will
prevent accesses to always try the default ("Guest") account if the user
already provided a valid credential.

5 days agopulse: use pa_stream_begin_write()
Thomas Guillem [Mon, 11 Feb 2019 15:28:01 +0000 (16:28 +0100)]
pulse: use pa_stream_begin_write()

Instead of using a free callback with a hackish way to get the block pointer.
Even if pa_stream_begin_write() is used to optimize the number of memcpy, this
commit won't change the total number of memcpy. The memcpy is just moved to the
Play() function.

pa_stream_begin_write() is available since 0.9.16. I guess that's why it was
not used since the beginning.

5 days agocontrib: smb2: backport patches from master
Thomas Guillem [Tue, 12 Feb 2019 11:48:43 +0000 (12:48 +0100)]
contrib: smb2: backport patches from master

Waiting for a future release.

5 days agosmb2: change error handling
Thomas Guillem [Tue, 12 Feb 2019 10:54:30 +0000 (11:54 +0100)]
smb2: change error handling

Some errors are not critical and should not be displayed.
Display error from dialog, only one time, if the Open() failed.

5 days agosmb2: use smb2_get_error()
Thomas Guillem [Tue, 12 Feb 2019 10:53:55 +0000 (11:53 +0100)]
smb2: use smb2_get_error()

This function returns more precise errors

5 days agomacosx/playlist: fix refcounting when handling the current input item
Felix Paul Kühne [Tue, 12 Feb 2019 09:41:19 +0000 (10:41 +0100)]
macosx/playlist: fix refcounting when handling the current input item

5 days agoavcodec: define coded_width/height on encoding
Ilkka Ollakka [Mon, 11 Feb 2019 08:49:37 +0000 (10:49 +0200)]
avcodec: define coded_width/height on encoding

With this change, transcoding to multiple outputs with intermediate encode works.

Example sout-chain used to test:
--sout="#transcode{vcodec=I420,deinterlace}:duplicate{dst={transcode{vcodec=h264,vfilter=canvas{width=640,height=320}}},dst={transcode{vcodec=h264,vfilter=canvas{width=320,height=240}}}}:file{dst=test_output.ts}"

Without this change, rawvideo codec will complain about invalid frame size.

6 days agocodec: vpx: Detect libvpx 1.8.0 and, if detected, use fewer frame formats in the...
Danny Milosavljevic [Mon, 11 Feb 2019 15:07:12 +0000 (16:07 +0100)]
codec: vpx: Detect libvpx 1.8.0 and, if detected, use fewer frame formats in the chroma_table

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
6 days agocontrib: soxr: don't download from a specific Sourceforge host
Steve Lhomme [Tue, 12 Feb 2019 07:36:06 +0000 (08:36 +0100)]
contrib: soxr: don't download from a specific Sourceforge host

6 days agod3d11_fmt: update the link to the WDDM driver versioning string
Steve Lhomme [Tue, 12 Feb 2019 07:04:31 +0000 (08:04 +0100)]
d3d11_fmt: update the link to the WDDM driver versioning string

The old link is not available anymore

6 days agodirect3d11: only check the revision version of the AMD drivers
Steve Lhomme [Tue, 12 Feb 2019 07:01:33 +0000 (08:01 +0100)]
direct3d11: only check the revision version of the AMD drivers

No need to check the WDDM version or DirectX feature level

6 days agoinput: Add missing allocation error check
Hugo Beauzée-Luyssen [Thu, 7 Feb 2019 16:22:12 +0000 (17:22 +0100)]
input: Add missing allocation error check

6 days agotaglib: .m4v are already registered as MP4 files
Hugo Beauzée-Luyssen [Thu, 7 Feb 2019 16:58:11 +0000 (17:58 +0100)]
taglib: .m4v are already registered as MP4 files

https://github.com/taglib/taglib/pull/662

6 days agomedia_tree: Ensure preparsing will be able to list subitems
Hugo Beauzée-Luyssen [Wed, 30 Jan 2019 10:01:52 +0000 (11:01 +0100)]
media_tree: Ensure preparsing will be able to list subitems

6 days agodemux: ogg: PTS to TICK_INVALID on missing interpolation
Francois Cartegnie [Mon, 11 Feb 2019 11:50:12 +0000 (12:50 +0100)]
demux: ogg: PTS to TICK_INVALID on missing interpolation

6 days agomacosx/StatusBarIcon: update implementation for new playlist / new player
Felix Paul Kühne [Mon, 11 Feb 2019 13:30:35 +0000 (14:30 +0100)]
macosx/StatusBarIcon: update implementation for new playlist / new player

6 days agomacosx: implement seeking and playback position display within the main window
Felix Paul Kühne [Mon, 11 Feb 2019 12:42:18 +0000 (13:42 +0100)]
macosx: implement seeking and playback position display within the main window

6 days agomacosx/main menu: fix menu item validation for items depending on input capabilities
Felix Paul Kühne [Mon, 11 Feb 2019 12:41:35 +0000 (13:41 +0100)]
macosx/main menu: fix menu item validation for items depending on input capabilities

6 days agomacosx: fix assert on quit
Felix Paul Kühne [Mon, 11 Feb 2019 11:55:30 +0000 (12:55 +0100)]
macosx: fix assert on quit

9 days agosout: transcode: keep fmtin for audio after test (fix #21727)
Francois Cartegnie [Fri, 8 Feb 2019 20:18:18 +0000 (21:18 +0100)]
sout: transcode: keep fmtin for audio after test (fix #21727)

9 days agomux: mp4: use main profile id for mp2v
Francois Cartegnie [Fri, 8 Feb 2019 17:16:01 +0000 (18:16 +0100)]
mux: mp4: use main profile id for mp2v

9 days agomux: mp4: fix mpeg1 object id
Francois Cartegnie [Fri, 8 Feb 2019 17:13:21 +0000 (18:13 +0100)]
mux: mp4: fix mpeg1 object id

9 days agomux: mp4: add esds comments
Francois Cartegnie [Fri, 8 Feb 2019 17:08:15 +0000 (18:08 +0100)]
mux: mp4: add esds comments

9 days agomux: mp4: rename esds variable
Francois Cartegnie [Fri, 8 Feb 2019 16:36:07 +0000 (17:36 +0100)]
mux: mp4: rename esds variable

9 days agodemux: mp4: add spec reference comment
Francois Cartegnie [Fri, 8 Feb 2019 16:13:59 +0000 (17:13 +0100)]
demux: mp4: add spec reference comment

9 days agomux: mp4: fix mp3 mapping
Francois Cartegnie [Fri, 8 Feb 2019 15:53:12 +0000 (16:53 +0100)]
mux: mp4: fix mp3 mapping

9 days agomux: mp4: fix mp3 atom codec with quicktime
Francois Cartegnie [Fri, 8 Feb 2019 15:47:10 +0000 (16:47 +0100)]
mux: mp4: fix mp3 atom codec with quicktime

9 days agomux: mp4: add mp41 brand for mpga/mp3
Francois Cartegnie [Fri, 8 Feb 2019 15:44:44 +0000 (16:44 +0100)]
mux: mp4: add mp41 brand for mpga/mp3

9 days agomux/ogg: Fix use of sout_mux_t as sout_mux_sys_t
Marvin Scholz [Thu, 7 Feb 2019 00:31:08 +0000 (01:31 +0100)]
mux/ogg: Fix use of sout_mux_t as sout_mux_sys_t

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 days agolua: Rename demux to stream_filter
Marvin Scholz [Thu, 7 Feb 2019 00:13:13 +0000 (01:13 +0100)]
lua: Rename demux to stream_filter

This is since some time a stream filter and not a demuxer anymore,
therefore this should be named stream_filter to not cause confusion
about that.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 days agomosaic_bridge: simplify video_update_format()
Steve Lhomme [Fri, 8 Feb 2019 15:41:23 +0000 (16:41 +0100)]
mosaic_bridge: simplify video_update_format()

No need to return the same value or pass the vlc_object_t.

9 days agomosaic_bridge: remove redundant code
Steve Lhomme [Fri, 8 Feb 2019 15:38:33 +0000 (16:38 +0100)]
mosaic_bridge: remove redundant code

Not need to set it conditionally when we set it unconditionally afterwards.

9 days agotranscode: cleaner es_format handling on format update
Steve Lhomme [Fri, 8 Feb 2019 15:36:16 +0000 (16:36 +0100)]
transcode: cleaner es_format handling on format update

9 days agomedia tree: clear children on subtree changed
Romain Vimont [Fri, 8 Feb 2019 13:35:00 +0000 (14:35 +0100)]
media tree: clear children on subtree changed

On subitems changed, the old subitems (if any) must be removed.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
9 days agooggspots: fix variable shadowing warning
Steve Lhomme [Fri, 8 Feb 2019 12:57:03 +0000 (13:57 +0100)]
oggspots: fix variable shadowing warning

9 days agoimage: make the write URL output video format const
Steve Lhomme [Fri, 8 Feb 2019 12:55:49 +0000 (13:55 +0100)]
image: make the write URL output video format const

9 days agomodules: misc video_format usage cleaning
Steve Lhomme [Fri, 8 Feb 2019 12:49:34 +0000 (13:49 +0100)]
modules: misc video_format usage cleaning

9 days agovideo_filter:ball: fix variable shadowing warning
Steve Lhomme [Fri, 8 Feb 2019 12:27:13 +0000 (13:27 +0100)]
video_filter:ball: fix variable shadowing warning

9 days agomodules: misc video_format usage cleaning
Steve Lhomme [Fri, 8 Feb 2019 12:26:40 +0000 (13:26 +0100)]
modules: misc video_format usage cleaning

9 days agomosaic_bridge: clean the output video_format_t usage
Steve Lhomme [Fri, 8 Feb 2019 10:49:23 +0000 (11:49 +0100)]
mosaic_bridge: clean the output video_format_t usage

9 days agomosaic_bridge: use picture_NewFromFormat to allocate pictures
Steve Lhomme [Fri, 8 Feb 2019 10:39:17 +0000 (11:39 +0100)]
mosaic_bridge: use picture_NewFromFormat to allocate pictures

So we keep all the metadata we get from the decoder.

9 days agodemux:image: remove redundant code
Steve Lhomme [Fri, 8 Feb 2019 08:31:29 +0000 (09:31 +0100)]
demux:image: remove redundant code

The codec is set a few lines earlier and when modified the value is also set to
the i_chroma value of the video format.

9 days agoimage: read images from an es_format instead of video_format plus extra data
Steve Lhomme [Fri, 8 Feb 2019 08:12:07 +0000 (09:12 +0100)]
image: read images from an es_format instead of video_format plus extra data

In most cases the source was already an es_format anyway.

Get rid a redundant image_ReadExt().

9 days agodemux: mp4: fix g711 regression (missing channels count)
Francois Cartegnie [Fri, 8 Feb 2019 12:55:49 +0000 (13:55 +0100)]
demux: mp4: fix g711 regression (missing channels count)

introduced with 3d24a401e710186220dac597074dfc2ae81ec334

9 days agodemux: mp4: don't use sample type for rawaudio
Francois Cartegnie [Fri, 8 Feb 2019 11:17:10 +0000 (12:17 +0100)]
demux: mp4: don't use sample type for rawaudio

ref #21813

9 days agodemux: mp4: don't use samplesize for audio v1/v2
Francois Cartegnie [Fri, 8 Feb 2019 10:13:11 +0000 (11:13 +0100)]
demux: mp4: don't use samplesize for audio v1/v2

refs #21814

9 days agoaudiotrack: add support for E_AC3 passthrough on API 23
Thomas Guillem [Fri, 8 Feb 2019 12:36:32 +0000 (13:36 +0100)]
audiotrack: add support for E_AC3 passthrough on API 23

9 days agoaudiotrack: fix passthrough on Android API 23
Thomas Guillem [Fri, 8 Feb 2019 12:26:45 +0000 (13:26 +0100)]
audiotrack: fix passthrough on Android API 23

This commit fixes passthrough playback for few devices on API 23. It was
working already for Nvidia Shield TV but not for some others (like devices
based on a Marvell chip).

Before API 23, we don't support passthrough and after we prefer to use
ENCODING_IEC61937.

9 days agotest: make_check_wrapper: fix gdb exec path
Thomas Guillem [Fri, 8 Feb 2019 07:49:43 +0000 (08:49 +0100)]
test: make_check_wrapper: fix gdb exec path

10 days agohttp: test: return 0 on success
Thomas Guillem [Fri, 8 Feb 2019 07:41:21 +0000 (08:41 +0100)]
http: test: return 0 on success

10 days agohttp: test: fix wrong int check
Thomas Guillem [Fri, 8 Feb 2019 07:40:43 +0000 (08:40 +0100)]
http: test: fix wrong int check

Regression from 8ab3c59baab72a24b3ce9641cdd7dd82443be0b1

10 days agoconfigure: enable debug by default
Thomas Guillem [Thu, 7 Feb 2019 12:23:13 +0000 (13:23 +0100)]
configure: enable debug by default

It seems that lot of developers forget to enable this option. This option
enables assert and other debug codes (like the very useful thread/mutex debug
code) that should be mandatory when you dev on VLC.

This is quite a big change: all VLC maintainers should now add
"--disable-debug" when they release a stable version of VLC.

10 days agoimage: clean video_format_t input/output usages of image_Read() callers
Steve Lhomme [Thu, 7 Feb 2019 15:27:58 +0000 (16:27 +0100)]
image: clean video_format_t input/output usages of image_Read() callers

10 days agoimage: clean video_format_t input/output usages of image_ReadUrl() callers
Steve Lhomme [Thu, 7 Feb 2019 14:31:24 +0000 (15:31 +0100)]
image: clean video_format_t input/output usages of image_ReadUrl() callers

10 days agoimage: remove the source video_format parameter from image_ReadUrl()
Steve Lhomme [Thu, 7 Feb 2019 15:13:24 +0000 (16:13 +0100)]
image: remove the source video_format parameter from image_ReadUrl()

It's always an empty video format with an 0 chroma. The format will be known
from the MIME type or the file probing.

10 days agotaglib: Require version 1.11
Hugo Beauzée-Luyssen [Thu, 7 Feb 2019 13:46:48 +0000 (14:46 +0100)]
taglib: Require version 1.11

10 days agomacosx/playlist model: fix getter for number of items
Felix Paul Kühne [Thu, 7 Feb 2019 13:33:22 +0000 (14:33 +0100)]
macosx/playlist model: fix getter for number of items

10 days agoconfigure.ac: Don't attempt to use kde4-config on Android
Hugo Beauzée-Luyssen [Thu, 7 Feb 2019 13:21:34 +0000 (14:21 +0100)]
configure.ac: Don't attempt to use kde4-config on Android

10 days agoimage: remove legacy error check
Steve Lhomme [Thu, 7 Feb 2019 11:26:59 +0000 (12:26 +0100)]
image: remove legacy error check

A converter is not going to write in the source picture, it's always providing
a new picture of its output format.

10 days agoimage: clean resetting of the es_format on metadata change
Steve Lhomme [Thu, 7 Feb 2019 12:24:40 +0000 (13:24 +0100)]
image: clean resetting of the es_format on metadata change

The formats are always cleaned in DeleteConverter() so they need to be safe.

Technically converters probably don't handle on the fly size change but that's
a different issue.

10 days agoimage: fix probable typo
Steve Lhomme [Thu, 7 Feb 2019 10:30:36 +0000 (11:30 +0100)]
image: fix probable typo

The fmt_out would be set twice to a different value and the fmt_in is not
updated and it should probably be p_fmt_in.

10 days agoimage: use an intermediate es_format_t to do the extra data copy
Steve Lhomme [Thu, 31 Jan 2019 14:50:47 +0000 (15:50 +0100)]
image: use an intermediate es_format_t to do the extra data copy

es_forma_Copy will take care of everything

10 days agoimage: remove redundant p_fmt_out copy
Steve Lhomme [Thu, 7 Feb 2019 10:18:39 +0000 (11:18 +0100)]
image: remove redundant p_fmt_out copy

It has already been filled and guaranteed that it's what the converter will use

10 days agoimage: don't overwrite the converter es_format
Steve Lhomme [Thu, 7 Feb 2019 12:06:35 +0000 (13:06 +0100)]
image: don't overwrite the converter es_format

Only the video format can potentially changed as done on the next line.

10 days agoimage: don't overwrite the converter codec
Steve Lhomme [Thu, 7 Feb 2019 12:06:02 +0000 (13:06 +0100)]
image: don't overwrite the converter codec

The chroma shouldn't change between reuse of the converter.

10 days agoimage: code cleaning
Steve Lhomme [Thu, 7 Feb 2019 12:02:44 +0000 (13:02 +0100)]
image: code cleaning

10 days agoimage: rename the filter to converter
Steve Lhomme [Thu, 7 Feb 2019 11:58:58 +0000 (12:58 +0100)]
image: rename the filter to converter

To avoid confusion with real video filters