]> git.sesse.net Git - vlc/log
vlc
10 years agoTS: fix playback of HDPR files
Jean-Baptiste Kempf [Mon, 9 Sep 2013 20:50:52 +0000 (22:50 +0200)]
TS: fix playback of HDPR files

10 years agoFreetype: move ProcessNodes to text_renderer
Jean-Baptiste Kempf [Mon, 9 Sep 2013 09:45:29 +0000 (11:45 +0200)]
Freetype: move ProcessNodes to text_renderer

10 years agoFreetype: simplify ProcessNodes without using p_sys
Jean-Baptiste Kempf [Mon, 9 Sep 2013 09:28:59 +0000 (11:28 +0200)]
Freetype: simplify ProcessNodes without using p_sys

10 years agoFreetype: Use the style also for the mono font
Jean-Baptiste Kempf [Mon, 9 Sep 2013 09:39:20 +0000 (11:39 +0200)]
Freetype: Use the style also for the mono font

10 years agoAdd a mono font name to the text_style_t
Jean-Baptiste Kempf [Mon, 9 Sep 2013 09:32:47 +0000 (11:32 +0200)]
Add a mono font name to the text_style_t

10 years agouse i_visible_ dimensions to initialize encoders
Rafaël Carré [Mon, 9 Sep 2013 14:42:23 +0000 (16:42 +0200)]
use i_visible_ dimensions to initialize encoders

10 years agotranscode: use width/height if visible dimension is not specified by decoder/filter
Rafaël Carré [Mon, 9 Sep 2013 14:20:18 +0000 (16:20 +0200)]
transcode: use width/height if visible dimension is not specified by decoder/filter

10 years agoClosed Captions: spawn a decoder thread
Rafaël Carré [Mon, 9 Sep 2013 12:23:12 +0000 (14:23 +0200)]
Closed Captions: spawn a decoder thread

We can't keep the cc decoder serialized with video decoder.
If the decoding delay between packetizer and video decoder is bigger
than caching (for example when using multi threaded decoder), we will
be too late for the next picture display while we wait for the right
rendering time for the CC.

Close #9049

10 years agotranscode: set visible resolution correctly
Rafaël Carré [Mon, 9 Sep 2013 10:10:29 +0000 (12:10 +0200)]
transcode: set visible resolution correctly

Fix needed after b71c85b3d88b8
Encoders should use i_visible_width / i_visible_height

Refs #9147

10 years agomacosx: more space for l10n in simple prefs panel
David Fuhrmann [Sun, 8 Sep 2013 17:50:05 +0000 (19:50 +0200)]
macosx: more space for l10n in simple prefs panel

10 years agomacosx: fix l10n issues
David Fuhrmann [Sun, 8 Sep 2013 17:13:18 +0000 (19:13 +0200)]
macosx: fix l10n issues

10 years agoConfigure: fix some checks about Qt5Core
Jean-Baptiste Kempf [Sun, 8 Sep 2013 16:52:56 +0000 (18:52 +0200)]
Configure: fix some checks about Qt5Core

Pointed by BtbN on IRC

10 years agoQt: increase the bottom combobox margin for audio device selection
Jean-Baptiste Kempf [Sun, 8 Sep 2013 16:40:06 +0000 (18:40 +0200)]
Qt: increase the bottom combobox margin for audio device selection

10 years agoQt: correctly display waveout options
Jean-Baptiste Kempf [Sun, 8 Sep 2013 16:39:29 +0000 (18:39 +0200)]
Qt: correctly display waveout options

10 years agoQt: correctly show the afile options
Jean-Baptiste Kempf [Sun, 8 Sep 2013 16:31:08 +0000 (18:31 +0200)]
Qt: correctly show the afile options

10 years agoQt: remove SPDIF option
Jean-Baptiste Kempf [Sun, 8 Sep 2013 16:24:38 +0000 (18:24 +0200)]
Qt: remove SPDIF option

10 years agoDon't use more aout channels than the stream actually has to avoid upmix.
Denis Charmet [Sun, 8 Sep 2013 15:54:54 +0000 (17:54 +0200)]
Don't use more aout channels than the stream actually has to avoid upmix.

Fix #9342

10 years agoVorbisChapter: prevent overflow
Jean-Baptiste Kempf [Sat, 7 Sep 2013 20:34:09 +0000 (22:34 +0200)]
VorbisChapter: prevent overflow

10 years agomux: avi: use reallocable block instead of fixed size buffer
Francois Cartegnie [Fri, 6 Sep 2013 13:09:42 +0000 (15:09 +0200)]
mux: avi: use reallocable block instead of fixed size buffer

10 years agomux: avi: add metadata.
Francois Cartegnie [Wed, 4 Sep 2013 09:21:56 +0000 (11:21 +0200)]
mux: avi: add metadata.

Implements INFO LIST chunk.
See OpenDML spec.

10 years agomux: avi: improve RIFF header builder.
Francois Cartegnie [Wed, 4 Sep 2013 14:05:01 +0000 (16:05 +0200)]
mux: avi: improve RIFF header builder.

Current RIFF header builder was working with static sizes and
was unable to handle extra metadata.

This will also save more than 9.5KB on most files.

10 years agodemux: ogg: handle opus seeking (fix #9334)
Francois Cartegnie [Sat, 7 Sep 2013 20:08:47 +0000 (22:08 +0200)]
demux: ogg: handle opus seeking (fix #9334)

10 years agoDirectSound: use a new strategy for erasing the ring buffer
Ludovic Fauvet [Sat, 7 Sep 2013 19:53:07 +0000 (21:53 +0200)]
DirectSound: use a new strategy for erasing the ring buffer

Close #9275 #9328

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoWin32 vlc.exe: simplify by not calling asprintf
Jean-Baptiste Kempf [Sat, 7 Sep 2013 19:04:22 +0000 (21:04 +0200)]
Win32 vlc.exe: simplify by not calling asprintf

Suggestion from funman

10 years agoyoutube.lua: descramble signatures by parsing javascript code
Pierre Ynard [Sat, 7 Sep 2013 17:52:04 +0000 (19:52 +0200)]
youtube.lua: descramble signatures by parsing javascript code

This should be more resilient to updates.

Fixes #9217

10 years agoQt sprefs: save lang in registry
Jean-Baptiste Kempf [Sat, 7 Sep 2013 16:35:07 +0000 (18:35 +0200)]
Qt sprefs: save lang in registry

Close #9329

10 years agozvbi: fix teletext decoding broken in b3c35a765 (close #7730)
Felix Paul Kühne [Sat, 7 Sep 2013 13:23:43 +0000 (15:23 +0200)]
zvbi: fix teletext decoding broken in b3c35a765 (close #7730)

10 years agoWin32: take LANG value from --language and the HKCU value
Jean-Baptiste Kempf [Fri, 6 Sep 2013 17:49:36 +0000 (19:49 +0200)]
Win32: take LANG value from --language and the HKCU value

10 years agolua: http: fix inline-block buttons with webkit (fix #9340)
Francois Cartegnie [Sat, 7 Sep 2013 09:14:50 +0000 (11:14 +0200)]
lua: http: fix inline-block buttons with webkit (fix #9340)

10 years agodemux: mkv: wrong struct member.
Francois Cartegnie [Fri, 6 Sep 2013 20:05:36 +0000 (22:05 +0200)]
demux: mkv: wrong struct member.

copy/paste...

10 years agodemux: ogg: update seekpoints info on new seekpoint (fix #9333)
Francois Cartegnie [Fri, 6 Sep 2013 20:02:12 +0000 (22:02 +0200)]
demux: ogg: update seekpoints info on new seekpoint (fix #9333)

10 years agoMap another twocc for g726 in wav
Ben Littler [Fri, 6 Sep 2013 16:18:27 +0000 (18:18 +0200)]
Map another twocc for g726 in wav

This patch should fix this sample:
http://samples.ffmpeg.org/A-codecs/g726-test1.wav

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: menus: do not store QModelIndex.
Francois Cartegnie [Fri, 6 Sep 2013 13:22:23 +0000 (15:22 +0200)]
Qt: menus: do not store QModelIndex.

10 years agoQt: menus: correctly connect chapters signals abstraction layer
Francois Cartegnie [Fri, 6 Sep 2013 13:16:12 +0000 (15:16 +0200)]
Qt: menus: correctly connect chapters signals abstraction layer

10 years agoomxil: rpi: Fetch pixel aspect ratio from decoder.
Julian Scheel [Thu, 5 Sep 2013 14:10:32 +0000 (16:10 +0200)]
omxil: rpi: Fetch pixel aspect ratio from decoder.

The broadcom omx implementation has a vendor extension to fetch pixel aspect
information from the decoder. Use this to pass proper aspect information with
the pictures.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoomxil: vout: Handle dynamic aspect changes.
Julian Scheel [Thu, 5 Sep 2013 14:03:01 +0000 (16:03 +0200)]
omxil: vout: Handle dynamic aspect changes.

Handle changes of aspect ratio through the Control handler.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoUpdate to gettext 0.18.3.1, fix AC_CHECK_DECLS usage
Rémi Denis-Courmont [Thu, 5 Sep 2013 19:21:11 +0000 (22:21 +0300)]
Update to gettext 0.18.3.1, fix AC_CHECK_DECLS usage

10 years agoAdd subdir-objects automake option where appropriate
Rémi Denis-Courmont [Thu, 5 Sep 2013 19:20:01 +0000 (22:20 +0300)]
Add subdir-objects automake option where appropriate

Makes version 1.14 happy.

10 years agoavcodec: align dimensions only for software decoding
Rémi Denis-Courmont [Thu, 5 Sep 2013 16:14:32 +0000 (19:14 +0300)]
avcodec: align dimensions only for software decoding

There is no use to CPU memory edges when decoding in hardware (arguably
libavcodec should be "enhanced" to not add them in that case).
This unbreaks VDPAU.

10 years agoavformat mux: Mark keyframe blocks as such.
Steinar H. Gunderson [Fri, 16 Aug 2013 14:42:39 +0000 (16:42 +0200)]
avformat mux: Mark keyframe blocks as such.

Some browsers, such as Firefox, are very picky about WebM streams needing to
start with a keyframe. To be able to handle this correctly when streaming,
the avformat mux needs to mark keyframe-containing blocks (or clusters, in
Matroska terminology) as such even after they have been muxed. The next patch
in the series will make httpd actually care about this flag.

Unfortunately, as avformat does not actually propagate this status, we need
to use some heuristics to figure out which blocks contain keyframes. The natural
thing to do would be to say that when we write a keyframe, the block that comes
back has to be a keyframe block, but the WebM/Matroska muxer thwarts this by
having its own internal buffering of clusters, flushing the _previous_ cluster
when we send it a keyframe. Thus, we need to explicitly send a flush (a NULL
packet) before the one that comes back when we mux a keyframe.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoIncrease the avformat mux buffer size to 10 MB.
Steinar H. Gunderson [Fri, 16 Aug 2013 14:42:37 +0000 (16:42 +0200)]
Increase the avformat mux buffer size to 10 MB.

The previous value, 32 kB, causes formats like WebM to overflow
and split the blocks, which has negative consequences for streaming.
We're unlikely to have a memory crunch in this area, so increase it
to something generous.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoncurses: fix crash after deleting last item
Rafaël Carré [Wed, 4 Sep 2013 19:45:57 +0000 (21:45 +0200)]
ncurses: fix crash after deleting last item

10 years agoPulseAudio: disable fix-rate when negotiating pass-through (refs #9309)
Rémi Denis-Courmont [Wed, 4 Sep 2013 18:36:36 +0000 (21:36 +0300)]
PulseAudio: disable fix-rate when negotiating pass-through (refs #9309)

API design bug in PulseAudio...

10 years agodirectsound: fix crash when no audio card is present on the system
Rafaël Carré [Wed, 4 Sep 2013 16:14:30 +0000 (18:14 +0200)]
directsound: fix crash when no audio card is present on the system

10 years agohttplive: remove write-only variable
Ilkka Ollakka [Tue, 27 Aug 2013 16:45:29 +0000 (19:45 +0300)]
httplive: remove write-only variable

10 years agolivehttp: use playlist max duration instead segment max duration to calculate if...
Ilkka Ollakka [Wed, 4 Sep 2013 10:52:56 +0000 (13:52 +0300)]
livehttp: use playlist max duration instead segment max duration to calculate if we can remove segment in live case

10 years agoRemove K&R macros from unzip declarations - 2
Timothy B. Terriberry [Tue, 3 Sep 2013 18:54:00 +0000 (11:54 -0700)]
Remove K&R macros from unzip declarations - 2

This macro is called _Z_OF on my system, not OF. But it's only
there to support K&R function declarations, so just get rid of it
entirely.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoRemove K&R macros from zip declarations.
Timothy B. Terriberry [Tue, 3 Sep 2013 18:43:00 +0000 (11:43 -0700)]
Remove K&R macros from zip declarations.

This macro is called _Z_OF on my system, not OF. But it's only
there to support K&R function declarations, so just get rid of it
entirely.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoWin32: allow affinity changes in OpenGL output for nVidia GPU
David R Robison [Tue, 3 Sep 2013 18:16:52 +0000 (20:16 +0200)]
Win32: allow affinity changes in OpenGL output for nVidia GPU

This should allow to balance the GPU load across multiple nVidia graphics cards.
This patch introduces a new command line argument that allows the user
to set the nVidia card affinity.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoWin32: launch the application at the end of the installer
Jean-Baptiste Kempf [Tue, 3 Sep 2013 14:29:45 +0000 (16:29 +0200)]
Win32: launch the application at the end of the installer

But with the correct Integrity.

10 years agoAdd support for parsing more Ogg tags.
Timothy B. Terriberry [Mon, 2 Sep 2013 16:28:41 +0000 (09:28 -0700)]
Add support for parsing more Ogg tags.

This fills in the initial vlc_meta_t object with more of the fields
it knows about, ensuring fields that we can edit with taglib don't
show up in the 'Extra metadata' panel.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: use validator for clipboard input
Francois Cartegnie [Tue, 3 Sep 2013 09:46:30 +0000 (11:46 +0200)]
Qt: use validator for clipboard input

10 years agoQt: move validators
Francois Cartegnie [Tue, 3 Sep 2013 09:41:20 +0000 (11:41 +0200)]
Qt: move validators

10 years agoSort Xiph tag checks.
Timothy B. Terriberry [Mon, 2 Sep 2013 16:28:41 +0000 (09:28 -0700)]
Sort Xiph tag checks.

This places them in the same order as they appear in vlc_meta.h to
make it easier to see which ones are present and which ones are
missing.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoSupport alternate TrackTotal styles in taglib.
Timothy B. Terriberry [Mon, 2 Sep 2013 18:15:13 +0000 (11:15 -0700)]
Support alternate TrackTotal styles in taglib.

vorbis_ParseComment() supports several different methods of
specifying the total number of tracks. Update the taglib module
to support reading in the same set.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAdd support for writing more Ogg tags.
Timothy B. Terriberry [Mon, 2 Sep 2013 15:50:52 +0000 (08:50 -0700)]
Add support for writing more Ogg tags.

This propagates more of the data between a vlc_meta_t object and
the taglib object used to write out new metadata. This should
support everything except Setting, URL, NowPlaying, ArtworkURL, and
TrackID.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agodemux: use stream_vaControl() where applicable (fixes #9302)
Rémi Denis-Courmont [Mon, 2 Sep 2013 20:45:36 +0000 (23:45 +0300)]
demux: use stream_vaControl() where applicable (fixes #9302)

10 years agoes: copy va_list only when needed
Rémi Denis-Courmont [Mon, 2 Sep 2013 20:34:06 +0000 (23:34 +0300)]
es: copy va_list only when needed

10 years agoPulseAudio: remove unused datum
Rémi Denis-Courmont [Mon, 2 Sep 2013 20:07:33 +0000 (23:07 +0300)]
PulseAudio: remove unused datum

10 years agoPulseAudio: remove broken logic
Rémi Denis-Courmont [Mon, 2 Sep 2013 20:01:17 +0000 (23:01 +0300)]
PulseAudio: remove broken logic

sys->first_pts is the time the stream started originally, but was
mistaken as the time of the stream was paused.

Now, it is assumed that pausing and resuming take approximately the
same time. This is usually true, and if it is not, there is no way for
either VLC or PulseAudio to know (since ALSA does not expose
pause/resume latency informations for the underlying devices).

In practice, this makes no real difference other than removing a bogus
warning about being late when resuming from pause.

10 years agoShow Save Metadata button when editing comments.
Timothy B. Terriberry [Mon, 2 Sep 2013 16:48:12 +0000 (09:48 -0700)]
Show Save Metadata button when editing comments.

QTextEdit doesn't have a textEdited() signal, but textChanged()
works well enough if we disable it while we're changing the text
ourselves.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFix a memory leak in ParseVorbisComments().
Timothy B. Terriberry [Mon, 2 Sep 2013 16:27:13 +0000 (09:27 -0700)]
Fix a memory leak in ParseVorbisComments().

Also, don't abort parsing the rest of the comments if we encounter
an empty one.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoUpdate the language when saving metadata.
Timothy B. Terriberry [Mon, 2 Sep 2013 15:56:43 +0000 (08:56 -0700)]
Update the language when saving metadata.

Otherwise it won't get saved to the file.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoAdd support for updating Opus metadata.
Timothy B. Terriberry [Mon, 2 Sep 2013 14:53:37 +0000 (07:53 -0700)]
Add support for updating Opus metadata.

This requires a taglib version with Opus support, but such a
version has not yet been released, even though support has been in
git almost a year. This version is scheduled as version 1.9

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: trim the MRL before validating its content (fix #9289)
Ludovic Fauvet [Mon, 2 Sep 2013 15:57:06 +0000 (17:57 +0200)]
Qt: trim the MRL before validating its content (fix #9289)

The default implementation of QLineEdit only calls the fixup method if the
user presses Enter and the content is not currently valid.

10 years agoMacOSX: fix engrish error
Jean-Baptiste Kempf [Mon, 2 Sep 2013 16:18:05 +0000 (18:18 +0200)]
MacOSX: fix engrish error

10 years agolibvlc: libvlc_MediaSubItemTreeAdded event type added
Sergey Radionov [Sun, 1 Sep 2013 14:00:18 +0000 (21:00 +0700)]
libvlc: libvlc_MediaSubItemTreeAdded event type added

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agomjpeg: work around broken MIME separators in crappy firmwares
David R Robison [Mon, 2 Sep 2013 15:40:05 +0000 (18:40 +0300)]
mjpeg: work around broken MIME separators in crappy firmwares

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoAllow negative rates
Paul Clark [Fri, 30 Aug 2013 12:59:14 +0000 (13:59 +0100)]
Allow negative rates

Some inputs (e.g. RTSP) can provide negative rates (rewind) just fine

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoscene: Fix division by 0
Jean-Baptiste Kempf [Mon, 2 Sep 2013 14:57:17 +0000 (16:57 +0200)]
scene: Fix division by 0

Close #9291

10 years agoCorrectly repacketize wavpack frames from Matroska
Denis Charmet [Mon, 2 Sep 2013 13:02:34 +0000 (15:02 +0200)]
Correctly repacketize wavpack frames from Matroska

Since libavcodec decoder doesn't expect matroska formatted wavpack anymore.

10 years agoauhal: respect changes in default audio device during playback (fixes #9266)
David Fuhrmann [Sun, 1 Sep 2013 12:13:15 +0000 (14:13 +0200)]
auhal: respect changes in default audio device during playback (fixes #9266)

10 years agoauhal: cosmetics
David Fuhrmann [Sun, 1 Sep 2013 12:10:08 +0000 (14:10 +0200)]
auhal: cosmetics

10 years agoextras/tools: bump cmake version to current stable and add a patch fixing build on...
Konstantin Pavlov [Sat, 31 Aug 2013 14:51:09 +0000 (18:51 +0400)]
extras/tools: bump cmake version to current stable and add a patch fixing build on OSX Mavericks.

10 years agoextras/tools: fix ragel build with clang on OSX Mavericks
Konstantin Pavlov [Sat, 31 Aug 2013 14:52:48 +0000 (18:52 +0400)]
extras/tools: fix ragel build with clang on OSX Mavericks

10 years agoInput clock reference: bump maximum gap to 60s
Rafaël Carré [Sat, 31 Aug 2013 12:49:44 +0000 (14:49 +0200)]
Input clock reference: bump maximum gap to 60s

Some APE files can have a single packet duration of up to 30s
Is there even a hard limit in this format, or can packets be longer?

Previous gap limit was an arbitrary 22s, written in a way reminiscent of
the MPEG 90kHz clock, which does not make sense anymore since reference clock
in all our demuxers use our own 1MHz clock.

Also explicitely use CLOCK_FREQ

10 years agoavcodec: pass aligned picture dimensions to video output
Rémi Denis-Courmont [Sat, 31 Aug 2013 15:45:32 +0000 (18:45 +0300)]
avcodec: pass aligned picture dimensions to video output

This enables direct rendering for H.264 software decoding.

10 years agodoc: New fortune :)
Mirsal Ennaime [Sat, 31 Aug 2013 15:26:42 +0000 (17:26 +0200)]
doc: New fortune :)

10 years agolua dkjson: use us_tostring() to fix locale issues with decimals
Pierre Ynard [Sat, 31 Aug 2013 15:29:33 +0000 (17:29 +0200)]
lua dkjson: use us_tostring() to fix locale issues with decimals

This only fixes encoding but we don't use decoding anyway.

Fixes #8854

10 years agocompat: add some more thread locale constants
Rémi Denis-Courmont [Sat, 31 Aug 2013 13:00:28 +0000 (16:00 +0300)]
compat: add some more thread locale constants

10 years agoomxil: Use pts instead of dts by default
Martin Storsjö [Thu, 29 Aug 2013 22:26:10 +0000 (00:26 +0200)]
omxil: Use pts instead of dts by default

I don't know of any codec that actually works better when passed dts
instead of pts. If such codecs exist I do think they're a minority
compared to the ones that can handle both or that do prefer pts.

Additionally, the Android media frameworks pass pts to decoders in
general, not dts. (Vendors might of course have individual hacks,
but this is what the generic code does.)

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoomxil: Include timestamps in the omx debug messages
Martin Storsjö [Thu, 29 Aug 2013 22:24:52 +0000 (00:24 +0200)]
omxil: Include timestamps in the omx debug messages

This is often useful when debugging, when trying to keep track of frames.

Signed-off-by: Martin Storsjö <martin@martin.st>
10 years agoCorrect typo (fixes #9292)
Rémi Denis-Courmont [Thu, 29 Aug 2013 17:51:20 +0000 (20:51 +0300)]
Correct typo (fixes #9292)

10 years agoFix VLC_CLIP usage (and potential divisions by zero)
Rémi Duraffort [Wed, 28 Aug 2013 18:15:14 +0000 (20:15 +0200)]
Fix VLC_CLIP usage (and potential divisions by zero)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFix memory leak (cid #1048910)
Rémi Duraffort [Wed, 28 Aug 2013 18:15:12 +0000 (20:15 +0200)]
Fix memory leak (cid #1048910)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFix sizeof mismatch (cid #1064682)
Rémi Duraffort [Wed, 28 Aug 2013 18:15:09 +0000 (20:15 +0200)]
Fix sizeof mismatch (cid #1064682)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFreetype: move GetStyleFromStack to helper
Jean-Baptiste Kempf [Wed, 28 Aug 2013 23:01:45 +0000 (01:01 +0200)]
Freetype: move GetStyleFromStack to helper

10 years agoFreetype: use a text_style_t in p_sys
Jean-Baptiste Kempf [Wed, 28 Aug 2013 16:05:56 +0000 (18:05 +0200)]
Freetype: use a text_style_t in p_sys

10 years agoFreetype: harmonize between platforms
Jean-Baptiste Kempf [Wed, 28 Aug 2013 15:53:50 +0000 (17:53 +0200)]
Freetype: harmonize between platforms

10 years agoFreetype: use psz_fontname
Jean-Baptiste Kempf [Wed, 28 Aug 2013 15:18:37 +0000 (17:18 +0200)]
Freetype: use psz_fontname

10 years agocue.lua: remove tabs
Ludovic Fauvet [Wed, 28 Aug 2013 15:40:35 +0000 (17:40 +0200)]
cue.lua: remove tabs

10 years agocue: support Latin1 cue files (fix #9238)
Ludovic Fauvet [Wed, 28 Aug 2013 15:27:12 +0000 (17:27 +0200)]
cue: support Latin1 cue files (fix #9238)

10 years agoFreetype: use int instead of uint8 for alpha
Jean-Baptiste Kempf [Wed, 28 Aug 2013 15:09:05 +0000 (17:09 +0200)]
Freetype: use int instead of uint8 for alpha

And remove write only variable

10 years agoFreetype: move arguments type to match text_style_t
Jean-Baptiste Kempf [Wed, 28 Aug 2013 14:46:35 +0000 (16:46 +0200)]
Freetype: move arguments type to match text_style_t

10 years agoFreetype: rename variables to match text_style_t names
Jean-Baptiste Kempf [Wed, 28 Aug 2013 14:37:50 +0000 (16:37 +0200)]
Freetype: rename variables to match text_style_t names

10 years agoFreetype: fix Win32 compilation
Jean-Baptiste Kempf [Wed, 28 Aug 2013 14:25:44 +0000 (16:25 +0200)]
Freetype: fix Win32 compilation

10 years agoQt: replace a remnant of Qt3
Ludovic Fauvet [Wed, 28 Aug 2013 14:05:56 +0000 (16:05 +0200)]
Qt: replace a remnant of Qt3

10 years agoconfigure: require at least Qt 5.1.0 to use Qt5
Ludovic Fauvet [Wed, 28 Aug 2013 13:35:34 +0000 (15:35 +0200)]
configure: require at least Qt 5.1.0 to use Qt5

10 years agoFreetype: split some functions in text_renderer.c
Jean-Baptiste Kempf [Wed, 28 Aug 2013 13:30:48 +0000 (15:30 +0200)]
Freetype: split some functions in text_renderer.c

Too many functions are not related to freetype and could be used by
other renderers like QuartText or DirectWrite.
Moreover, this file was way too long.

This is just the beginning, and there are no functionnal change so far.

10 years agoQt: do not delete speedControl yourself
Jean-Baptiste Kempf [Wed, 28 Aug 2013 11:50:49 +0000 (13:50 +0200)]
Qt: do not delete speedControl yourself

It is a QFrame, so it is already parented and should work fine.
Fixes crash-on-quit in Qt5