Commit Graph

56006 Commits

Author SHA1 Message Date
David Fuhrmann
4e6bc174ce macosx: advanced prefs: use config_GetIntChoices for int list 2014-01-20 18:32:41 +01:00
Jean-Paul Saman
b76584c163 transcode: cosmetics 2014-01-20 17:14:04 +01:00
Jean-Paul Saman
184e5a3fed transcode: fix object leak with audio transcoding.
Transcoding audio could result in an assert being triggered on an objects refcount at
exit of vlc. The issue was introduced by commit id: 651ed87f2b
2014-01-20 17:13:15 +01:00
Felix Abecassis
77c6cbf165 DirectDraw: DirectDrawEnumerateExW does not work, use DirectDrawEnumerateExA instead.
Fix #10189, #10307.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-01-20 16:44:33 +01:00
Felix Abecassis
fd35fe041b DirectDraw: do not save a string that is deallocated immediately after.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-01-20 16:44:33 +01:00
Erwan Tulou
bb964cd577 Qt: fix playlist issues when Qt works as a dialog provider
For the Qt plugin to keep on working both as an interface module and
a dialog/menu/extension provider, the new implementation of pl_Get( p_intf )
can no longer be used blindly, since it now assumes that the playlist is the
parent object. In the latter case, the parent object is the calling interface
(for instance, skins2) and the playlist is actually the grandparent !

As a rule of thumb, THEPL which is now initialized appropriately should be
used instead of pl_Get( p_intf ) throughout Qt.

This fixes trac #10421
2014-01-20 16:12:06 +01:00
Erwan Tulou
9bf135cb03 skins2: remove unused variable 2014-01-20 16:12:06 +01:00
Jean-Baptiste Kempf
5981a20319 Qt: use DIR_SEP for BDMV and VIDEO_TS detection 2014-01-20 07:38:27 +01:00
Jean-Baptiste Kempf
c36f023fb9 Qt: avoid the record button to appear multiple times 2014-01-20 07:35:39 +01:00
Jean-Baptiste Kempf
761a49f8f9 Revert "Pass the value by pointer (cid #1049514)"
This reverts commit e7d6279cee.

This broke zvbi decoding on Windows
Close #9523
2014-01-19 19:29:15 +01:00
Jean-Baptiste Kempf
b502075972 Qt: fix folder opening of DVD and BD on Windows
Close #6328
2014-01-19 18:59:57 +01:00
Rémi Duraffort
7ef85b9e80 fb: fix palette size (4 channels and not 8) 2014-01-19 18:10:53 +01:00
Rémi Duraffort
6ff63c369f fb: fix pointer arithmetic (cid #1048983) 2014-01-19 18:10:53 +01:00
Jean-Baptiste Kempf
70c147f061 Qt4: add a record menu action
Close #8761
2014-01-19 18:07:29 +01:00
Jean-Baptiste Kempf
98ed7f65a6 Qt: make the mouse sensitivity in FSC configurable
Close #9462
2014-01-19 17:45:44 +01:00
Rémi Duraffort
6ad9a260b5 mkv: fix use-after-free and double-free 2014-01-19 17:43:28 +01:00
Rémi Duraffort
d2ff0942a2 Fix wrong implicit cast 2014-01-19 17:42:04 +01:00
Rémi Duraffort
2b2889024f help: fix help string if colors are disabled 2014-01-19 17:39:59 +01:00
Rémi Duraffort
3dd6f93fa7 qt4: fix clang warning (implicit conversion) 2014-01-19 17:39:10 +01:00
Rémi Duraffort
2310b1952e update: fix memory leak 2014-01-19 17:37:38 +01:00
David Fuhrmann
302ffe2e61 macosx: advanced prefs: fix width of table view 2014-01-18 23:22:25 +01:00
David Fuhrmann
7dd80de560 macosx: advanced prefs: remove scroll view from module list table view, fix layout
close #9971
2014-01-18 22:42:47 +01:00
David Fuhrmann
65a983cf2d macosx: advanced prefs: implement controls for CONFIG_ITEM_MODULE_LIST
fixes #7493
2014-01-18 22:42:26 +01:00
David Fuhrmann
eab8b4acfd vout/macosx: use shorter name
This is a user-visible string, not the developers doku.
2014-01-18 22:35:05 +01:00
David Fuhrmann
dad64d35ac macosx: simple prefs: merge module list into string list and simplify
Uses config_GetPszChoices.

Fixes bug where explicit selection of macosx vout module did not worked.
2014-01-18 22:35:05 +01:00
David Fuhrmann
b954a5927d macosx: advanced prefs: use string list control for CONFIG_ITEM_MODULE and simplify
Uses config_GetPszChoices.

close #8941
2014-01-18 22:35:04 +01:00
Martin Storsjö
cdbe3eeb7b blend: Handle alpha when blending in RGBA buffers
Previously the alpha channel wasn't set at all, and the RGB
components were blended without regard to the existing alpha
value.

Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-18 00:59:26 +02:00
Francois Cartegnie
0eedfc01b2 Qt: ExtensionListModel: don't specialize 2014-01-17 23:11:08 +01:00
Francois Cartegnie
e1cdc9e591 Qt: ExtensionItemDelegate: remove unused members 2014-01-17 22:57:29 +01:00
Francois Cartegnie
5f78dc28f8 Qt: ExtensionItemDelegate: rewrite (fix #10407)
does it the right way
2014-01-17 21:11:27 +01:00
Wieland Hoffmann
096802060b meta_engine/taglib: Read TrackID in all formats
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-01-17 18:41:06 +01:00
Jean-Baptiste Kempf
987d6cf967 Qt: fix audio menu crash
Close #9674
2014-01-17 17:39:05 +01:00
Rafaël Carré
b402de6246 avcodec: map OPUS codec
Libav:  2a3d82ab467183fd108f451a85ca06ebc2a57e2c
FFmpeg: e62fd6619f7aa91956a1b4ccfa7b0b8d7bc4ba90
2014-01-17 15:47:04 +01:00
Felix Abecassis
d75a07a202 mediacodec: implementation of MediaCodec GPU direct rendering
Based on the work by Martin Storsjö.

The decoder stores opaque buffers in the p_sys member of the picture
and the vout uses a callback from the decoder to render these
buffers. When the decoder flushes or closes, all the currently in
flight pictures (filled by the decoder but not displayed yet) need to
be invalidated. A mutex is required in order to prevent the vout from using
destroyed MediaCodec buffers.

In order to avoid a deadlock when exiting the decoder, a maximum number of polling
attempts was added in order to avoid blocking the decoder indefinitely if the vout
is not releasing output buffers anymore.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2014-01-17 12:59:13 +01:00
Martin Storsjö
31bf4b4de5 mediacodec: Set the dequeue timeout in the right unit
The timeout parameter is in microseconds, while the previous wait
value (30) was supposed to be milliseconds.

Signed-off-by: Martin Storsjö <martin@martin.st>
2014-01-17 13:49:31 +02:00
Rafaël Carré
7a19c0b41e alsa: set spdif options also if device was specified
On my laptop I need to specify --alsa-audio-device hdmi
2014-01-17 11:30:19 +01:00
Rafaël Carré
806a5a50f5 vout_Request: cosmetics 2014-01-17 08:21:49 +01:00
Rafaël Carré
17818d7bce Use str_format_meta for snapshots
Fixes: #9938
2014-01-16 22:00:52 +01:00
Rafaël Carré
3514f7b009 Mention dirac removal 2014-01-16 20:55:49 +01:00
Rafaël Carré
37502dd2d2 Qt4: add h265 transcoding profile 2014-01-16 20:33:21 +01:00
Rafaël Carré
557f5d1c6a Remove dirac.c
Comment says:
"NB, this is a temporary encoder only module until schroedinger
offers superior encoding quality than dirac-research"

http://diracvideo.org/2012/01/schroedinger-1-0-11/ says:
"Schrödinger outperforms dirac-research in most encoding situations,
both in terms of encoding speed and visual quality."
2014-01-16 20:33:21 +01:00
Francois Cartegnie
1a774ee2db demux: asf: don't warn on stop.
Can still have unsent blocks.
2014-01-16 19:34:04 +01:00
Francois Cartegnie
6aa64b7a83 mux: ogg: compute correct dt/pt/delay/distance for dirac.
refs #9648
(no fix as codec sends bad pts sequence)
2014-01-16 19:34:04 +01:00
Francois Cartegnie
3ae14a6063 encoders: shroedinger: fix invalid write 2014-01-16 19:34:04 +01:00
Francois Cartegnie
67b7e7466c mux: ogg: uninitialized value
1st header write can contain random values but that
triggers false positive on valgrind.
2014-01-16 19:34:04 +01:00
Francois Cartegnie
c21305385d encoder: dirac: match source geometry
refs #10386
Still junk on bottom due to invalid plane->i_visible_lines
2014-01-16 19:34:04 +01:00
Francois Cartegnie
cf77bbb044 encoder: dirac: fix heap overflow 2014-01-16 19:34:03 +01:00
Francois Cartegnie
9fc1397ac4 demux: oggseek: fix timestamp computation for opus 2014-01-16 19:34:03 +01:00
Francois Cartegnie
f16fd30032 demux: ogg: add PCR gap handling warning 2014-01-16 19:34:03 +01:00
Francois Cartegnie
e39d1a58ff demux: ogg: fix PCR from opus granule.
Can't use granule 0 as it means there's still no valid first sample
after processing packet.
Fix start gap on opus webradios.
2014-01-16 19:34:03 +01:00