Rémi Denis-Courmont
44ea680b06
vout: remove vout_HoldPicture()
12 years ago
Rémi Denis-Courmont
7e864e866a
vout: remove unncessary lock in vout_HoldPicture()
picture_Hold() is reentrant anyway. The vout picture lock protects
the decoder pool. The decoder pool may be modified by picture_Release()
but not by picture_Hold().
12 years ago
Rémi Denis-Courmont
98f3a7b37d
vout: remove unnecessary lock around the picture FIFO
The picture FIFO has a lock internally to protect its internal state
while picture references protect the pictures.
There is no need to protect the FIFO usage with the picture lock.
At this point, the picture lock is only protected the decoder pool.
12 years ago
Rémi Denis-Courmont
72f131d90d
vout_ReleasePicture: do not wake up the video output thread
The video output thread never allocates pictures from the decoder
thread. It uses the reserve private pool and, when if not rendering
directly, the display pool. Thus it has nothing particular to do when
a decoder pool picture is released.
(vout_PutPicture() wakes the thread up to kick rendering.)
12 years ago
Tristan Matthews
61828fc1b7
contrib: add JACK
Default disabled for now.
12 years ago
Thomas Guillem
0ba7c06e10
android/opaque: fix crash on Close with subtitles
The pixels allocated from picture_NewFromFormat were replaced (and leaked) by
pixels allocated by android native windows. This also leaded to a crash on
Close when subtitles_picture was freed.
Use picture_NewFromResource with an empty to resource in order to don't
allocate any pixels.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
4e943d01c2
android/opaque: check if subtitles_picture is not NULL
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Thomas Guillem
fb23e24096
android/opaque: fix indent
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago
Jean-Baptiste Kempf
ad0e12de52
Win32: copy the BD-J jar to the release folder
12 years ago
Rémi Denis-Courmont
234e80cb49
doc: make libvlc_audio_set_volume_callback() dependency explicit
12 years ago
Rémi Denis-Courmont
c2b0f25eab
picture_Hold: add an assertion
12 years ago
Rémi Denis-Courmont
28375c8354
Wayland/SHM: fix memory leak
12 years ago
Rémi Denis-Courmont
7609918fc2
picture: separate destroy callbacks
Use a separate callback for pictures allocated in heap and pictures
allocated from video output buffers.
12 years ago
Rémi Denis-Courmont
3512e4087e
spu: remove filter_DeleteSubpicture()
This is only used in error corner cases, and is always the same as
calling subpicture_Delete() directly.
12 years ago
Rémi Denis-Courmont
dfae0979f0
filter: remove filter_DeletePicture()
All variants of the filter_t.video.buffer_del callback invoke
picture_Release() - possibly through recursion.
Most filters used picture_Release() directly already.
12 years ago
Thomas Guillem
73c7b4a1c0
decoder: separate vout initialization from buffer allocation
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
12 years ago
Rémi Denis-Courmont
a2d03a8375
OpenGL: simplify pool creation
12 years ago
Rémi Denis-Courmont
396436191c
MSW/GDI: simplify pool creation
12 years ago
Yuudai Yamashigi
647f5417d6
contrib: aribb25: dist source doesn't need bootstrap
12 years ago
Rémi Denis-Courmont
9e99ef0782
picture_pool: fix race condition
This makes picture_pool_Get() reentrant.
12 years ago
Rémi Denis-Courmont
364e73c39f
Unexport picture_pool_NonEmpty()
12 years ago
Rémi Denis-Courmont
77d6f3993f
pool: move lock/unlock callbacks to picture_pool_t
This reduces the size of picture_gc_sys_t. The callbacks are always the
same for all pictures in a given pool.
12 years ago
Rémi Denis-Courmont
07e428de4d
picture_pool: split picture_pool_NonEmpty and picture_pool_Reset
12 years ago
Rémi Denis-Courmont
3ca607e898
pool: keep reference to pool in each picture
12 years ago
Rémi Denis-Courmont
1d2dcf803a
picture_pool: remove unnecessary special case
We can offload the picture deletion to Destroy() in all cases.
12 years ago
David Fuhrmann
293ed5e2ce
macosx: Add own callback path for item-change
The item-change callback might be called very often, and thus an
own code path is better, with only necessary updates.
Additionally, this fixes multiple resume playback dialogs occuring
at once when starting playback in certain situations.
refs #11981
12 years ago
Yuudai Yamashigi
bdeab8dbc3
contribs: add aribb25
12 years ago
Yuudai Yamashigi
ce071202e0
demux: ts: add support for ARIB STD-B25
12 years ago
Yuudai Yamashigi
55a03066e5
stream_filter: add ARIB STD-B25 virtual cam module
12 years ago
Francois Cartegnie
a9d4817038
stream_filter: smooth: missing terminating zero
12 years ago
Francois Cartegnie
38750d0d57
stream_filter: smooth: server does control pace in live mode
12 years ago
Francois Cartegnie
3dcc5292dc
stream_filter: smooth: live mode must download all incoming chunks
12 years ago
Francois Cartegnie
1f28f66ee7
stream_filter: smooth: fix int overflows reading xml
12 years ago
Francois Cartegnie
95b15a98ed
stream_filter: smooth: handle live max lookahead
12 years ago
Francois Cartegnie
a95ac7be77
stream_filter: smooth: missing full cleanup/fix leak
12 years ago
Francois Cartegnie
8880f6c7e5
stream_filter: smooth: fix url template token replacement
Also handles CustomAttributes
12 years ago
Francois Cartegnie
1b820cdae4
stream_filter: smooth: handle quality custom attributes
12 years ago
Rafaël Carré
da8fb21727
Fix protoc check
12 years ago
Francois Cartegnie
7656b3b449
stream_filter: smooth: allow pausing
12 years ago
Francois Cartegnie
d99bf09b92
stream_filter: smooth: fix always zero get_lead()
Was downloading regardless of consumer
12 years ago
Francois Cartegnie
191c278132
stream_filter: smooth: non live streams can control pace
Fixes most of glitches for non live streams, especially on
quality change.
12 years ago
Francois Cartegnie
a326db9b67
stream_filter: smooth: fix unwanted padding in error string
12 years ago
Francois Cartegnie
5a9b7726e5
stream_filter: smooth: fix signedness
12 years ago
Francois Cartegnie
d3d3cfceff
stream_filter: smooth: fix warnings for non bw adapt mode
12 years ago
Francois Cartegnie
a3382f3bd3
demux: mp4: fix PTS delta
CTTS value can be negative on version 0, and match the not found
return value used in GetPTSDelta.
ex: Sintel Smooth Streaming sample
12 years ago
Rémi Denis-Courmont
fbd0ccb714
picture_pool: add test case
12 years ago
Jean-Baptiste Kempf
5f7cb6f8b1
Contribs: disable vpx encoders with --disable-sout
12 years ago
Jean-Baptiste Kempf
4da2ee4b70
Contribs: disable vpx docs
12 years ago
Jean-Baptiste Kempf
8032442916
Contribs: don't disable VP8 decoder
12 years ago
Martin Storsjö
d05c17272e
mft: Use the right index for IMFSample_GetBufferByIndex
The input stream id is completely unrelated to the input
sample buffer index - the sample allocated in AllocateInputSample
contains one single media buffer, at index 0.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
12 years ago