]> git.sesse.net Git - vlc/log
vlc
11 years agolibvlc: pass log message directly
Rémi Denis-Courmont [Wed, 20 Mar 2013 17:20:56 +0000 (19:20 +0200)]
libvlc: pass log message directly

Let the callback format message context infos however it wants.

11 years agolibvlc: add functions to query log message "item" data
Rémi Denis-Courmont [Wed, 20 Mar 2013 17:18:59 +0000 (19:18 +0200)]
libvlc: add functions to query log message "item" data

Also make provisions for file name and line number in the future.

11 years agoQt4: replace awkward word 'keep-pressed'
Edward Wang [Fri, 15 Mar 2013 16:47:50 +0000 (12:47 -0400)]
Qt4: replace awkward word 'keep-pressed'

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoWin32: use fputws instead of ToANSI+fputs
Jean-Baptiste Kempf [Tue, 19 Mar 2013 23:10:06 +0000 (00:10 +0100)]
Win32: use fputws instead of ToANSI+fputs

11 years agohttplive: handle better relative urls
Ilkka Ollakka [Wed, 20 Mar 2013 06:41:50 +0000 (08:41 +0200)]
httplive: handle better relative urls

if path starts with / it's related to root of server and not
current path.

Fixes: #8321
11 years agoskins2: use the "mute" variable
Erwan Tulou [Tue, 19 Mar 2013 22:23:27 +0000 (23:23 +0100)]
skins2: use the "mute" variable

11 years agoRemove unmaintained switcher module
Rafaël Carré [Tue, 19 Mar 2013 21:29:21 +0000 (22:29 +0100)]
Remove unmaintained switcher module

11 years agomacosx: switch fspanel icon set to use the brighter 'highlight' graphics in idle...
Felix Paul Kühne [Tue, 19 Mar 2013 21:08:30 +0000 (22:08 +0100)]
macosx: switch fspanel icon set to use the brighter 'highlight' graphics in idle mode, which is better to see.

just for testing purposes, for now

11 years agoWin32: High-Priority will not work in MetroMode
Jean-Baptiste Kempf [Tue, 19 Mar 2013 16:47:44 +0000 (17:47 +0100)]
Win32: High-Priority will not work in MetroMode

11 years agolivehttp: fix padding to work with iOS/Android
Ilkka Ollakka [Tue, 19 Mar 2013 13:34:01 +0000 (15:34 +0200)]
livehttp: fix padding to work with iOS/Android

Don't pad individual ts-packets, but pad just segments.

11 years agomacosx: fixed traffic light drawing in dark UI mode
Felix Paul Kühne [Tue, 19 Mar 2013 13:10:08 +0000 (14:10 +0100)]
macosx: fixed traffic light drawing in dark UI mode

11 years agoLook for inet_ntop/inet_pton in ws2_32
Rafaël Carré [Mon, 18 Mar 2013 16:49:19 +0000 (17:49 +0100)]
Look for inet_ntop/inet_pton in ws2_32

11 years agoopengl: Handle subpicture textures being aligned to power-of-two dimensions
Martin Storsjö [Thu, 14 Mar 2013 10:20:37 +0000 (12:20 +0200)]
opengl: Handle subpicture textures being aligned to power-of-two dimensions

This fixes subpicture textures on ES1.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoopengl: Split texture uploading to a separate function
Martin Storsjö [Tue, 12 Mar 2013 13:35:35 +0000 (15:35 +0200)]
opengl: Split texture uploading to a separate function

This allows to reuse the repacking logic for subpictures as well,
fixing display of subpictures on ES2, where GL_UNPACK_ROW_LENGTH
isn't available.

Also avoid mallocing/freeing the temporary buffer for each upload,
but keep one buffer in the context.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoopengl: Handle pixel pitch properly when repacking textures for upload
Martin Storsjö [Thu, 14 Mar 2013 09:40:26 +0000 (11:40 +0200)]
opengl: Handle pixel pitch properly when repacking textures for upload

This makes repacking of textures with multiple bytes per pixel (RGBA)
work properly.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agomacosx: fix fspanel pause button button alignment
Felix Paul Kühne [Mon, 18 Mar 2013 22:24:16 +0000 (23:24 +0100)]
macosx: fix fspanel pause button button alignment

11 years agomacosx/Resources: flip fs volume slider knob so it appears correctly on screen
Felix Paul Kühne [Mon, 18 Mar 2013 22:19:43 +0000 (23:19 +0100)]
macosx/Resources: flip fs volume slider knob so it appears correctly on screen

while a bit ugly, this is more efficient than doing so over and over again at runtime

11 years agomacosx: fix fullscreen volume slider knob alignment
Felix Paul Kühne [Mon, 18 Mar 2013 21:42:02 +0000 (22:42 +0100)]
macosx: fix fullscreen volume slider knob alignment

11 years agomacosx: fix time slider knob alignment in bright mode
Felix Paul Kühne [Mon, 18 Mar 2013 21:40:27 +0000 (22:40 +0100)]
macosx: fix time slider knob alignment in bright mode

11 years agolibvlc: simplify and clean up external logging API (fixes #8129)
Rémi Denis-Courmont [Mon, 18 Mar 2013 21:07:53 +0000 (23:07 +0200)]
libvlc: simplify and clean up external logging API (fixes #8129)

 - Scope the callback to its instance.
 - Avoid leaking the layout of an internal data structure.
 - Future-proof passing of extra informations through an opaque pointer.

11 years agoRename msg_item_* to vlc_log_* (cosmetic)
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:38:05 +0000 (22:38 +0200)]
Rename msg_item_* to vlc_log_* (cosmetic)

(This is needed for the next change.)

11 years agoskins2: remove unused data
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:28:36 +0000 (22:28 +0200)]
skins2: remove unused data

11 years agomacosx: use vlc_LogSet()
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:27:23 +0000 (22:27 +0200)]
macosx: use vlc_LogSet()

11 years agoQt4: use vlc_LogSet()
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:25:44 +0000 (22:25 +0200)]
Qt4: use vlc_LogSet()

11 years agoncurses: use vlc_LogSet()
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:22:10 +0000 (22:22 +0200)]
ncurses: use vlc_LogSet()

11 years agologger: use vlc_LogSet()
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:20:29 +0000 (22:20 +0200)]
logger: use vlc_LogSet()

11 years agolibvlc: simplify logging callback
Rémi Denis-Courmont [Mon, 18 Mar 2013 20:13:56 +0000 (22:13 +0200)]
libvlc: simplify logging callback

Remove static data, and keep each callback correctly scoped to its
LibVLC instance.

11 years agolibvlc: deinit actions in reverse order of init
Rémi Denis-Courmont [Mon, 18 Mar 2013 19:41:40 +0000 (21:41 +0200)]
libvlc: deinit actions in reverse order of init

11 years agoomxil: Generalize code for hardcoded component/role mappings
Martin Storsjö [Mon, 18 Mar 2013 20:45:55 +0000 (22:45 +0200)]
omxil: Generalize code for hardcoded component/role mappings

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264_nal: Support resuming bitstream format conversion across buffers
Martin Storsjö [Mon, 18 Mar 2013 19:39:20 +0000 (21:39 +0200)]
h264_nal: Support resuming bitstream format conversion across buffers

This is necessary in order to pass one single H264 packet in
multiple OMX buffers to the decoder.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Feed input data in multiple buffers if needed
Martin Storsjö [Mon, 18 Mar 2013 19:37:15 +0000 (21:37 +0200)]
omxil: Feed input data in multiple buffers if needed

This fixes decoding of higher resolution content on the raspberry
pi, where the decoder defaults to 80 KB input buffers and doesn't
react if trying to enlarge them in
ImplementationSpecificWorkarounds().

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoh264_nal: Fix a boundary check in the H264 bitstream conversion routine
Martin Storsjö [Mon, 18 Mar 2013 19:13:58 +0000 (21:13 +0200)]
h264_nal: Fix a boundary check in the H264 bitstream conversion routine

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolibvlc: remove potential logging from within config_LoadCmdLine()
Rémi Denis-Courmont [Mon, 18 Mar 2013 17:29:24 +0000 (19:29 +0200)]
libvlc: remove potential logging from within config_LoadCmdLine()

11 years agolibvlc: remove redundant object name hack
Rémi Denis-Courmont [Mon, 18 Mar 2013 17:18:24 +0000 (19:18 +0200)]
libvlc: remove redundant object name hack

This was redundant since 1207a3698201c2835ea432f5cb98cac8e4c42f91.

11 years agolibvlc: initialize message settings early enough
Rémi Denis-Courmont [Mon, 18 Mar 2013 17:09:55 +0000 (19:09 +0200)]
libvlc: initialize message settings early enough

That is to say, before any message gets logged.

Unfortunately, since the modules bank uses logging, and provides the
configuration, the message settings cannot be stored in the
configuration file. All messages could be removed from the bank but
that would hurt debugging in some cases :-/

11 years agolibgcrypt 1.5.1 was released
Rafaël Carré [Mon, 18 Mar 2013 16:52:37 +0000 (17:52 +0100)]
libgcrypt 1.5.1 was released

11 years agoomxil: Add a configure option for enabling raspberry pi specific omx code
Martin Storsjö [Fri, 15 Mar 2013 15:35:49 +0000 (17:35 +0200)]
omxil: Add a configure option for enabling raspberry pi specific omx code

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil_vout: Set broadcom specific parameters
Martin Storsjö [Mon, 11 Mar 2013 14:52:28 +0000 (16:52 +0200)]
omxil_vout: Set broadcom specific parameters

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Add a broadcom/raspberry pi specific OMX header
Martin Storsjö [Mon, 11 Mar 2013 14:52:23 +0000 (16:52 +0200)]
omxil: Add a broadcom/raspberry pi specific OMX header

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Use the alternative 64 bit integer ABI on the raspberry pi
Martin Storsjö [Mon, 11 Mar 2013 14:52:21 +0000 (16:52 +0200)]
omxil: Use the alternative 64 bit integer ABI on the raspberry pi

This changes how some structs are laid out.

Most of OMX API implementation on the raspberry pi runs on the
VideoCore processor and not on the normal ARM thar runs the
userland. Some OMX structs are passed over to this processor as
whole blocks, so the OMX ABI used in the userland is tied to be the
same as the one used by the VideoCore firmware.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Signal OMX version 1.1.2 when targeting raspberry pi
Martin Storsjö [Mon, 11 Mar 2013 14:52:13 +0000 (16:52 +0200)]
omxil: Signal OMX version 1.1.2 when targeting raspberry pi

The broadcom OMX IL core requires this in order to respond to
requests.

In principle, this shouldn't probably break other OMX implementations,
unless they are picky about it in the same way, requiring version
1.1.1, but still keeping it behind ifdefs just in case.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Hardcode known roles for OMX broadcom components on raspberry pi
Martin Storsjö [Mon, 11 Mar 2013 14:52:11 +0000 (16:52 +0200)]
omxil: Hardcode known roles for OMX broadcom components on raspberry pi

This OMX core does not list any roles for the components.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Try to load the broadcom OMX IL core and host library on the raspberry pi
Martin Storsjö [Mon, 11 Mar 2013 14:51:47 +0000 (16:51 +0200)]
omxil: Try to load the broadcom OMX IL core and host library on the raspberry pi

The host library is intentionally not unloaded, since it starts
background threads when initialized, and the deinit function does
not stop the threads. Therefore, this library cannot be unloaded
once loaded and initialized.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Add an omxil based video output module
Martin Storsjö [Mon, 11 Mar 2013 14:52:20 +0000 (16:52 +0200)]
omxil: Add an omxil based video output module

This is kept under modules/codes/omxil due to sharing much code
with the omxil codec.

This is only tested with the OMX.broadcom.video_render component
on the Raspberry Pi so far, which in itself doesn't advertise any
roles at all, so this could possibly use the "iv_renderer.yuv.overlay"
role instead of plan "iv_renderer".

But it should be possible to generalize this further and adapt it to
any OMX IL video renderer component.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Factorize event queue handling to a separate struct
Martin Storsjö [Mon, 11 Mar 2013 14:52:18 +0000 (16:52 +0200)]
omxil: Factorize event queue handling to a separate struct

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Factorize event debug printing to a separate function
Martin Storsjö [Mon, 11 Mar 2013 14:52:16 +0000 (16:52 +0200)]
omxil: Factorize event debug printing to a separate function

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Split omx core management to a separate file
Martin Storsjö [Mon, 11 Mar 2013 14:51:41 +0000 (16:51 +0200)]
omxil: Split omx core management to a separate file

The point of the omx core management is to try to load and init the
OMX core once, even if there's multiple e.g. decoder instances. The
reason for this is that there are OMX cores where the deinit function
will deinitialize the whole core on the first deinit call, even if
init has been called twice.

If this file is to be built as part of multiple separate shared
plugins, each of the plugins will initialize the OMX core separately,
which could cause issues with such OMX cores.

Since the second plugin that uses the OMX core, an OMX vout plugin,
isn't used automatically, and the only OMX implementation it currently
is tested to actually work with (the Broadcom OMX core on Raspberry
Pi) doesn't have issues with being uninitialized multiple times,
there's no need to jump through hoops to fix this theoretical issue
right now though.

For reference, if we really want to make sure the omx core is loaded
and initialized only once, the plugins need to be loaded with
RTLD_GLOBAL and all the variables in omxil_core.c need to be marked
with __attribute__ ((visibility ("default"))). But that's generally
not an option, and shouldn't be necessary right now at least.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoaccess: add vnc/rfb: update LIST/NEWS
Francois Cartegnie [Mon, 18 Mar 2013 13:46:13 +0000 (14:46 +0100)]
access: add vnc/rfb: update LIST/NEWS

11 years agoaccess: add rfb/vnc viewonly module.
Francois Cartegnie [Sun, 17 Feb 2013 19:32:20 +0000 (20:32 +0100)]
access: add rfb/vnc viewonly module.

Uses libvnc to provide 8-32bpp viewer, compression control, rfb & x509
auth, desktop resize handling and vnc://host:port uri.

11 years agoi420->rv32 neon: improve scheduling & registers usage
Sébastien Toque [Tue, 12 Mar 2013 17:20:00 +0000 (18:20 +0100)]
i420->rv32 neon: improve scheduling & registers usage

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoopengl: Set the color to full alpha in the non-shader draw path
Martin Storsjö [Mon, 18 Mar 2013 08:30:41 +0000 (10:30 +0200)]
opengl: Set the color to full alpha in the non-shader draw path

The color is set when drawing subpictures, but wasn't set when
drawing the main texture.

For some reason, the current color was reset between each
display call in some environments, making this issue not to be
visible.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolivehttp: Fix crash on when not using encryption
Ilkka Ollakka [Mon, 18 Mar 2013 07:05:35 +0000 (09:05 +0200)]
livehttp: Fix crash on when not using encryption

Call CryptKey only if we actually are encrypting stuff

Fixes: #8315
11 years agolivehttp: tell if playlist is vod
Ilkka Ollakka [Sun, 17 Mar 2013 15:45:46 +0000 (17:45 +0200)]
livehttp: tell if playlist is vod

Mark EXT-X-PLAYLSIT-TYPE:EVENT if it's still under generating and at the
end, mark it as VOD in cases where we keep all the segments and those
are in playlist.

Closes: #6919
11 years agox264: use x264 macro to get both B-frame types
Ilkka Ollakka [Fri, 15 Mar 2013 11:34:06 +0000 (13:34 +0200)]
x264: use x264 macro to get both B-frame types

11 years agoavcodec: flag blocks as corrupted if avpacket tells it is
Ilkka Ollakka [Fri, 15 Mar 2013 11:33:14 +0000 (13:33 +0200)]
avcodec: flag blocks as corrupted if avpacket tells it is

11 years agoavcodec: mark SP/SI/BI pictures
Ilkka Ollakka [Fri, 15 Mar 2013 10:32:11 +0000 (12:32 +0200)]
avcodec: mark SP/SI/BI pictures

11 years agoavformat: don't offset dts/pts to start from 0, avformat should nowadays handle that...
Ilkka Ollakka [Fri, 15 Mar 2013 10:07:33 +0000 (12:07 +0200)]
avformat: don't offset dts/pts to start from 0, avformat should nowadays handle that just fine

11 years agoavformat: don't mark buffer as need to be writable, as we don't write into it directly
Ilkka Ollakka [Fri, 15 Mar 2013 10:06:36 +0000 (12:06 +0200)]
avformat: don't mark buffer as need to be writable, as we don't write into it directly

11 years agoNEWS: mention livehttp encryption
Ilkka Ollakka [Sun, 17 Mar 2013 14:32:09 +0000 (16:32 +0200)]
NEWS: mention livehttp encryption

11 years agolivehttp: support static IV-use on encryption
Ilkka Ollakka [Sun, 17 Mar 2013 14:41:04 +0000 (16:41 +0200)]
livehttp: support static IV-use on encryption

generate-iv option will tell vlc to generate random IV to encrypt whole
stream instead of using segment number as IV.

11 years agolivehttp: stream encryption
Rafaël Carré [Sat, 16 Mar 2013 13:26:09 +0000 (15:26 +0200)]
livehttp: stream encryption

Uses segment number for IV and takes key-file where to read key for
encryption.

Modified-by: Ilkka Ollakka <ileoo@videolan.org>
11 years agohttplive: support absolute URI-locations for key-retrieval
Ilkka Ollakka [Sun, 17 Mar 2013 11:26:33 +0000 (13:26 +0200)]
httplive: support absolute URI-locations for key-retrieval

11 years agolivehttp: free p_sys->p_seglens if str_format_time fails
Ilkka Ollakka [Sun, 17 Mar 2013 10:51:19 +0000 (12:51 +0200)]
livehttp: free p_sys->p_seglens if str_format_time fails

11 years agoGenerate .def files with gendef
Rafaël Carré [Sun, 17 Mar 2013 10:32:53 +0000 (11:32 +0100)]
Generate .def files with gendef

Should avoid the need for http://wiki.videolan.org/GenerateLibFromDll

11 years agolivehttp: set caching disabled for default
Ilkka Ollakka [Sat, 16 Mar 2013 13:55:58 +0000 (15:55 +0200)]
livehttp: set caching disabled for default

11 years agoblock: fix sign warning
Rémi Denis-Courmont [Thu, 14 Mar 2013 18:12:27 +0000 (20:12 +0200)]
block: fix sign warning

11 years agoblock: align to 32 bytes
Rémi Denis-Courmont [Thu, 14 Mar 2013 18:11:46 +0000 (20:11 +0200)]
block: align to 32 bytes

This is required by libavcodec AVX optimizations for audio decoding.

11 years agoavformat: set stream sar.den as we set sar.num also
Ilkka Ollakka [Fri, 15 Mar 2013 10:07:05 +0000 (12:07 +0200)]
avformat: set stream sar.den as we set sar.num also

11 years agoavformat: set pf_* after everything else in init
Ilkka Ollakka [Thu, 14 Mar 2013 10:33:17 +0000 (12:33 +0200)]
avformat: set pf_* after everything else in init

11 years agoContribs: build shout without threads on Windows
Jean-Baptiste Kempf [Thu, 14 Mar 2013 16:15:39 +0000 (17:15 +0100)]
Contribs: build shout without threads on Windows

11 years agoWin32: move MessageBox error from libVLC to vlc.exe
Jean-Baptiste Kempf [Thu, 14 Mar 2013 15:57:37 +0000 (16:57 +0100)]
Win32: move MessageBox error from libVLC to vlc.exe

One might want to handle libvlc creation errors in a different way

11 years agoContribs: fix vpx threading on Win32
Jean-Baptiste Kempf [Thu, 14 Mar 2013 14:43:20 +0000 (15:43 +0100)]
Contribs: fix vpx threading on Win32

11 years agoallow sout for avcodec>=55
Ilkka Ollakka [Sat, 9 Mar 2013 12:02:25 +0000 (14:02 +0200)]
allow sout for avcodec>=55

11 years agoavcodec: use encode_video2 if available
Ilkka Ollakka [Thu, 14 Mar 2013 09:06:28 +0000 (11:06 +0200)]
avcodec: use encode_video2 if available

closes #8291

11 years agoDon't automatically enable the gles video outputs
Martin Storsjö [Wed, 13 Mar 2013 17:21:18 +0000 (19:21 +0200)]
Don't automatically enable the gles video outputs

They still lack features such as window sizing and mouse events.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoDon't leak -lmingw32 in LIBS
Rafaël Carré [Wed, 13 Mar 2013 17:14:21 +0000 (18:14 +0100)]
Don't leak -lmingw32 in LIBS

11 years agoopengl: Take w.num into account when calculating the buffer size
Martin Storsjö [Tue, 12 Mar 2013 13:19:41 +0000 (15:19 +0200)]
opengl: Take w.num into account when calculating the buffer size

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoopengl: Make the ES1/ES2 video output work
Martin Storsjö [Tue, 12 Mar 2013 09:39:02 +0000 (11:39 +0200)]
opengl: Make the ES1/ES2 video output work

This mostly consists of ifdeffing out parts selectively from
opengl.c based on whether shaders or the fixed pipeline are
absent.

Both the ES1 and ES2 outputs have been tested on Ubuntu on
a pandaboard. They seem to mostly work fine, but overlay
subpictures seem garbled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoopengl: Fix the ES 1 vs 2 version check
Martin Storsjö [Tue, 12 Mar 2013 14:02:55 +0000 (16:02 +0200)]
opengl: Fix the ES 1 vs 2 version check

The version string for ES 1 is "OpenGL ES-CM 1.x" or
"OpenGL ES-CL 1.x". For ES 2 it is "OpenGL ES 2.0", while it
seems to be only "3.x" for ES 3.

Since the code is mostly built for either ES 1 or ES 2 (only
Apple support targeting both at the same time, from the same
built object code - but we only use ES 2 on iOS), simplify
this down to a compile time decision.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolibvlccore: remove duplicate ldflags
Rafaël Carré [Wed, 13 Mar 2013 16:54:20 +0000 (17:54 +0100)]
libvlccore: remove duplicate ldflags

11 years agoVPX: try to fix mountain lion patch
Jean-Baptiste Kempf [Wed, 13 Mar 2013 00:43:40 +0000 (01:43 +0100)]
VPX: try to fix mountain lion patch

11 years agocontrib: vpx: missing header
Rafaël Carré [Wed, 13 Mar 2013 00:02:41 +0000 (01:02 +0100)]
contrib: vpx: missing header

11 years agoConfigure: vaapi and vdpau need avcodec
Jean-Baptiste Kempf [Tue, 12 Mar 2013 16:22:31 +0000 (17:22 +0100)]
Configure: vaapi and vdpau need avcodec

Should fix distcheck

11 years agoConfigure: allow older versions for libavcodec
Jean-Baptiste Kempf [Tue, 12 Mar 2013 14:50:45 +0000 (15:50 +0100)]
Configure: allow older versions for libavcodec

11 years agoPartial revert of "avcodec: remove support for old versions"
Jean-Baptiste Kempf [Mon, 11 Mar 2013 17:56:03 +0000 (18:56 +0100)]
Partial revert of "avcodec: remove support for old versions"

This partially reverts and adapts commit cde81e52f2d6e17383aced57fe6312eafa79cacf.
This is mostly related to Palette and Options

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoAvcodec: create replacements for older versions of lavc
Jean-Baptiste Kempf [Tue, 12 Mar 2013 13:06:46 +0000 (14:06 +0100)]
Avcodec: create replacements for older versions of lavc

Methods avcodec_alloc_context3, avcodec_open2 and error_recognition
member

11 years agolibav*: create a new avcommon_compat.h file for backward compatibility
Jean-Baptiste Kempf [Tue, 12 Mar 2013 13:01:03 +0000 (14:01 +0100)]
libav*: create a new avcommon_compat.h file for backward compatibility

This patch includes necessary defines

11 years agoomxil: Convert the khronos provided headers to unix newlines
Martin Storsjö [Mon, 11 Mar 2013 19:25:30 +0000 (21:25 +0200)]
omxil: Convert the khronos provided headers to unix newlines

All headers except OMX_Component.h seemed to be stored with dos
newlines for some unknown reason. In the OpenMAX IL 1.1.2 header
zip file provided by Khronos, they are provided with unix newlines,
which also is the norm for the VLC codebase.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Convert from/to OMX_TICKS via helper functions
Martin Storsjö [Mon, 11 Mar 2013 14:52:09 +0000 (16:52 +0200)]
omxil: Convert from/to OMX_TICKS via helper functions

The 64 bit timestamp fields can be defined either as 64 bit
integers or as structs with two 32 bit members. If the
struct variant is being used, we need to convert to/from it
with helper functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoQt: EPGView: highlight day change
Francois Cartegnie [Mon, 11 Mar 2013 18:53:32 +0000 (19:53 +0100)]
Qt: EPGView: highlight day change

11 years agoQt: EPGRuler: simplify color change case.
Francois Cartegnie [Mon, 11 Mar 2013 17:39:45 +0000 (18:39 +0100)]
Qt: EPGRuler: simplify color change case.

fixes behavior when hour == day change

11 years agoomxil: Remove an unused struct member
Martin Storsjö [Mon, 11 Mar 2013 14:47:10 +0000 (16:47 +0200)]
omxil: Remove an unused struct member

Additionally, the mutex never seem to have been released but
just leaked.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Remove an unused local variable
Martin Storsjö [Mon, 11 Mar 2013 14:46:39 +0000 (16:46 +0200)]
omxil: Remove an unused local variable

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoomxil: Remove hacks for disabling use of direct buffers
Martin Storsjö [Mon, 11 Mar 2013 11:56:27 +0000 (13:56 +0200)]
omxil: Remove hacks for disabling use of direct buffers

Instead just set the flag to disabled, since this obviously
isn't used at the moment.

Also fix a case in DecodeVideo where the b_direct flag for the
wrong port was checked.

This simplifies enabling the direct buffer behaviour for the
cases where it actually is desired.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoWin32: Console is not supported in WinRT appstore mode
Jean-Baptiste Kempf [Sun, 10 Mar 2013 23:51:56 +0000 (00:51 +0100)]
Win32: Console is not supported in WinRT appstore mode

11 years agoGetSystemTimePreciseAsFileTime is not supported in WinRT...
Jean-Baptiste Kempf [Sun, 10 Mar 2013 23:50:55 +0000 (00:50 +0100)]
GetSystemTimePreciseAsFileTime is not supported in WinRT...

... but GetSystemTimeAsFileTime is. Go figure...

11 years agovimeo playback now hides user agent automatically
Stephen Parry [Wed, 6 Mar 2013 19:36:07 +0000 (19:36 +0000)]
vimeo playback now hides user agent automatically

Vimeo injects garbage into pages fetched by any user agent recognisable as
being VLC. Amended parse routine to check the current user agent; if the user
agent is set to VLC then parse returns a replacement playlist entry with the
same url but with an option setting the user agent to something that vimeo will
not trash.
The main playlist parsing loop then re-opens the stream with the correct agent
and calls vimeo.lua a second time; the stream is then parsed as before to get
the actual shortlived video url.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoTry to fix distcheck
Jean-Baptiste Kempf [Sun, 10 Mar 2013 16:30:56 +0000 (17:30 +0100)]
Try to fix distcheck

11 years agoAdd i420->rv16 neon converter
Sébastien Toque [Tue, 5 Mar 2013 20:20:39 +0000 (21:20 +0100)]
Add i420->rv16 neon converter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoaudio input core: fix wrong parsing of replaygain tags (fix #8174)
Anatoliy Anischovich [Sat, 9 Mar 2013 19:29:19 +0000 (21:29 +0200)]
audio input core: fix wrong parsing of replaygain tags (fix #8174)

Before dictionaries there was a loop, so if-else way was ok, but not now. Also, locale-dependent atof().
Remove unnecessary replaygain stuff from flac demuxer.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>