Steve Lhomme
5363279805
remove the $Id$ in the source code
8 years ago
Steve Lhomme
b7cdab4473
direct3d9: simplify the desktop mode update logic
Now the callback writes in an atomic bool which is then used in Manage(). No
need for a lock anymore or an extra boolean.
8 years ago
Steve Lhomme
6871e31ebe
direct3d9: update the desktop mode synchronously in manage
No need to reopen the device for that.
Fixes #21733
8 years ago
Steve Lhomme
f936c43087
direct3d9: split the reopen function
Move the desktop mode handling out of it.
8 years ago
Steve Lhomme
c060c44a64
direct3d9: remove unused cfg_saved
8 years ago
Thomas Guillem
628a7d3a3f
sout: chromecast: remove unused pause_delay hack
Not needed anymore since timestamps are reset by the muxer.
8 years ago
Francois Cartegnie
cfd18d4112
codec: avcodec: use av_strerror
8 years ago
Johan Gunnarsson
3668542df0
display: fix a few warnings
video_output/display.c: In function ‘vout_display_TranslateMouseState’:
video_output/display.c:262:23: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
+ (int64_t)(y - place.y) * vd->source.i_visible_height / place.height;
~~~^~~~~~~~~~
video_output/display.c:260:23: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
+ (int64_t)(x - place.x) * vd->source.i_visible_width / place.width;
~~~^~~~~~~~~~
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
8 years ago
Francois Cartegnie
8af9e9ce56
codec: avcodec: workaround missing defines in avcodec
8 years ago
Rémi Denis-Courmont
dbd5d0ad3c
xcb/xvideo: attempt to create window just once
If it failed the first time, it won't work the second time.
8 years ago
Rémi Denis-Courmont
ab49223804
xcb/xvideo: drop port grabbing
Grabbing a port probably would make sense if using PutVideo.
But VLC only ever used PutImage.
8 years ago
Rémi Denis-Courmont
fa7a4ef1a7
xcb/xvideo: rationalize format detection
8 years ago
Rémi Denis-Courmont
87b5e58e1e
xcb/xvideo: remove old OMAP3xxx hack
8 years ago
Steve Lhomme
e02f6758fe
direct3d11: don't pretend we can handle RESET_PICTURES
The test for direct rendering in vout_wrapper will not be affected as it tests
has_pictures_invalid the same way it tests is_slow.
8 years ago
Steve Lhomme
49f745a12a
display: has_pictures_invalid means it can handle the RESET_PICTURES control
8 years ago
Steve Lhomme
dad77ea95c
libvlc: remove the _gl_ from the video output callbacks API
And rename the matching variables to "vout-cb-*"
8 years ago
Steve Lhomme
fbb9030c0e
libvlc: rename libvlc_video_set_opengl_callbacks() to libvlc_video_set_output_callbacks()
We're going to support D3D11 and D3D9 with the same API.
At some point it may be merged with libvlc_video_set_callbacks() as well.
8 years ago
Steve Lhomme
7700a8f262
libvlc: rename libvlc_gl_resize_cb to libvlc_update_output_cb
And rename the internal variable to "vout-cb-update-output"
8 years ago
Thomas Guillem
98938560c8
sout: chromecast: don't set webm by default
8 years ago
Thomas Guillem
7c340bc7a4
sout: chromecast: reset timestamps to 0
Updated chromecast devices don't seem to accept webm live content that don't
start with a timestamp near 0.
8 years ago
Thomas Guillem
25d263a661
mux: avformat: add an option to reset timestamps
8 years ago
Francois Cartegnie
9da41db107
packetizer: h264: fix pts < dts from POC
8 years ago
Francois Cartegnie
6c0e671ba5
codec: avcodec: show error string
8 years ago
Steve Lhomme
230a6befa1
direct3d11: use the windowless mode when using an external ID3D11DeviceContext
8 years ago
Steve Lhomme
05059dafb0
direct3d11: read "winrt-swapchain" at the same place we create the swapchain
For winstore apps.
Reorder some code to do only the things we need to do per target.
8 years ago
Steve Lhomme
3352635d72
direct3d11: use D3D11_CreateDeviceExternal() with the winrt provided context
8 years ago
Steve Lhomme
93240e5e59
direct3d11: move some of the rendering calls into callbacks
8 years ago
Steve Lhomme
748ca739be
direct3d9: allow using an external D3D9 device
8 years ago
Steve Lhomme
f19bef67c3
direct3d9: move some of the rendering calls into callbacks
8 years ago
Hugo Beauzée-Luyssen
b568777797
configure.ac: Don't check for clock_nanosleep on win32
Now that we use winpthreads, configure finds clock_nanosleep there,
causing -pthread to be added to the libvlccore requirement, while we
don't use it for win32.
8 years ago
Hugo Beauzée-Luyssen
db1d637fce
contrib: upnp: Force -lpthread into libupnp.pc
This is a partial revert (with modifications) of
1d156f093d
8 years ago
Steve Lhomme
b378e39122
decoder: mention the video.buffer_new() can be called from any decoder thread
8 years ago
Steve Lhomme
cc2a8cdf76
decoder: initialize fields explicitly
8 years ago
Steve Lhomme
c3b177761c
decoder: reindent
8 years ago
Steve Lhomme
952cf1779a
decoder: avoid locking the owner if the format didn't change
8 years ago
Tristan Matthews
a643b2fa1c
contrib: png: update to 1.6.36
From the release notes:
"Fixes some build issues, adds a couple of small optimizations (ARM
png_do_expand_palette(), Intel SSE2 memcpy()), and updates the license
(identical terms to the zlib license, with the old license appended in the
manner of the Python Software Foundation License version 2, and the list of
contributing authors moved to a separate AUTHORS file)."
8 years ago
Rémi Denis-Courmont
e0f9c5f77f
xcb/xvideo: do not set the back and border pixmaps
This is overriden by the back and border pixels.
8 years ago
Rémi Denis-Courmont
aed152e5f8
xcb/x11: do not set the back and border pixmaps
This is overriden by the back and border pixels.
8 years ago
Rémi Denis-Courmont
8f7271ed9b
xcb: drop dead code
8 years ago
Rémi Denis-Courmont
e523190a7c
xcb/xvideo: drop visibility support
This ensures that the frame is up-to-date when the player becomes
visible - at least if a compositor is present (which is usually true).
8 years ago
Rémi Denis-Courmont
c750c9b1a5
xcb/x11: drop visibility support
8 years ago
Rémi Denis-Courmont
35dd78c3b1
display: remove async invalid pictures on non-Windows
8 years ago
Rémi Denis-Courmont
cf485c26dc
x11: return an error if resize needed
8 years ago
Rémi Denis-Courmont
3287bd3b4e
wayland/shm: return an error if resize needed
8 years ago
Rémi Denis-Courmont
1d9b0e25ad
vdpau: return an error if resize needed
8 years ago
Rémi Denis-Courmont
46ecae4742
display: reset pictures if change control fails
8 years ago
Rémi Denis-Courmont
3cc2bef538
display: split vout_display_Reset() in two
8 years ago
Rémi Denis-Courmont
c84629715b
display: add some error propagation
8 years ago
Rémi Denis-Courmont
02132b7ce1
vdpau: remove bogus pictures invalidation
On preemption, resetting pictures is far less than would be required.
Preemption is broken by design in libvdpau as things stand due to
missing synchronization for the preemption callback.
8 years ago
Rémi Denis-Courmont
c84850f73a
vaapi: fix invalid function pointer conversion
8 years ago