]> git.sesse.net Git - vlc/log
vlc
10 years agoavformat mux: Propagate seekable status into avformat.
Steinar H. Gunderson [Fri, 16 Aug 2013 14:42:11 +0000 (16:42 +0200)]
avformat mux: Propagate seekable status into avformat.

Some muxes, in particular mkv/webm, behave very differently depending on
whether we say that the stream is seekable or not (by providing the IOSeek
function). It does not help that the seek function itself returns an error.

Thus, add a new access_out control called ACCESS_OUT_CAN_SEEK, set to true
for seekable files in the file output only, and propagate the status of that
into avformat at initialization time.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoinput/stream: remove STREAM_CONTROL_ACCESS and simplify
Rémi Denis-Courmont [Sun, 25 Aug 2013 10:04:39 +0000 (13:04 +0300)]
input/stream: remove STREAM_CONTROL_ACCESS and simplify

10 years agoaccess: clearing info.i_update is the owner's job, not the plugin's
Rémi Denis-Courmont [Sun, 25 Aug 2013 09:49:00 +0000 (12:49 +0300)]
access: clearing info.i_update is the owner's job, not the plugin's

10 years agofile: update size whenever it is requested
Rémi Denis-Courmont [Sun, 25 Aug 2013 09:44:17 +0000 (12:44 +0300)]
file: update size whenever it is requested

10 years agoinput/stream: cosmetics
Rémi Denis-Courmont [Sun, 25 Aug 2013 09:35:19 +0000 (12:35 +0300)]
input/stream: cosmetics

10 years agoinput/stream: factor code
Rémi Denis-Courmont [Sun, 25 Aug 2013 09:25:02 +0000 (12:25 +0300)]
input/stream: factor code

10 years agocontrib: iconv: update patch after 7cc06ba8c9
Rafaël Carré [Sat, 24 Aug 2013 22:52:15 +0000 (00:52 +0200)]
contrib: iconv: update patch after 7cc06ba8c9

10 years agomp4a packetizer: fix buffer overflow
Rafaël Carré [Sat, 24 Aug 2013 20:10:31 +0000 (22:10 +0200)]
mp4a packetizer: fix buffer overflow

10 years agomp4a packetizer: simplify loop
Rafaël Carré [Sat, 24 Aug 2013 20:10:18 +0000 (22:10 +0200)]
mp4a packetizer: simplify loop

10 years agomp4a packetizer: cosmetics
Rafaël Carré [Sat, 24 Aug 2013 20:03:20 +0000 (22:03 +0200)]
mp4a packetizer: cosmetics

10 years agoios2: clean opengl buffers only in active state
Gleb Pinigin [Sat, 24 Aug 2013 15:10:08 +0000 (22:10 +0700)]
ios2: clean opengl buffers only in active state

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years agomp4 mux: use CLOCK_FREQ
Rafaël Carré [Sat, 24 Aug 2013 16:21:30 +0000 (18:21 +0200)]
mp4 mux: use CLOCK_FREQ

10 years agomp4 mux: c99
Rafaël Carré [Sat, 24 Aug 2013 15:26:44 +0000 (17:26 +0200)]
mp4 mux: c99

10 years agomp4 mux: simplify stts box creation
Rafaël Carré [Sat, 24 Aug 2013 15:22:23 +0000 (17:22 +0200)]
mp4 mux: simplify stts box creation

10 years agomp4 mux: use a variable to make the code shorter
Rafaël Carré [Sat, 24 Aug 2013 15:15:28 +0000 (17:15 +0200)]
mp4 mux: use a variable to make the code shorter

10 years agomp4 mux: avoid unnecessary conversion
Rafaël Carré [Sat, 24 Aug 2013 15:14:03 +0000 (17:14 +0200)]
mp4 mux: avoid unnecessary conversion

10 years agomp4 mux: generate constant frame rate files
Rafaël Carré [Sat, 24 Aug 2013 14:57:41 +0000 (16:57 +0200)]
mp4 mux: generate constant frame rate files

10 years agomp4 mux: merge box_fix call into box_gather
Rafaël Carré [Sat, 24 Aug 2013 07:31:08 +0000 (09:31 +0200)]
mp4 mux: merge box_fix call into box_gather

10 years agomp4 mux: simplify
Rafaël Carré [Sat, 24 Aug 2013 07:21:18 +0000 (09:21 +0200)]
mp4 mux: simplify

10 years agomp4 mux: cosmetics
Rafaël Carré [Sat, 24 Aug 2013 06:10:43 +0000 (08:10 +0200)]
mp4 mux: cosmetics

no functional changes

10 years agomp4 mux: simplify box*new
Rafaël Carré [Sat, 24 Aug 2013 05:52:52 +0000 (07:52 +0200)]
mp4 mux: simplify box*new

10 years agomp4 mux: use block_t
Rafaël Carré [Sat, 24 Aug 2013 05:49:10 +0000 (07:49 +0200)]
mp4 mux: use block_t

10 years agomp4 mux: remove fixed parameters
Rafaël Carré [Sat, 24 Aug 2013 04:55:07 +0000 (06:55 +0200)]
mp4 mux: remove fixed parameters

10 years agots: handle support for ISO/IEC 14496-3 Audio stream type. (fix #7769)
Francois Cartegnie [Sat, 24 Aug 2013 14:15:09 +0000 (16:15 +0200)]
ts: handle support for ISO/IEC 14496-3 Audio stream type. (fix #7769)

Reserved stream types allocated in TREC H222.0

10 years agodemux: avi: handle zero sized lists (fix #9056, fix #8413)
Francois Cartegnie [Sat, 24 Aug 2013 08:22:53 +0000 (10:22 +0200)]
demux: avi: handle zero sized lists (fix #9056, fix #8413)

10 years agodemux: avi: handle zero sized strd sections (fix #8994)
Francois Cartegnie [Fri, 23 Aug 2013 16:36:36 +0000 (18:36 +0200)]
demux: avi: handle zero sized strd sections (fix #8994)

Sunplus chipset based cameras creates those zero sized proprietary
sections.

10 years agoudp: pull and buffer received packets in udp access module
Tzu-Jung Lee [Thu, 22 Aug 2013 17:34:40 +0000 (01:34 +0800)]
udp: pull and buffer received packets in udp access module

Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
Modified-and-...
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agoExport block_FifoWake() :-(
Rémi Denis-Courmont [Sat, 24 Aug 2013 10:04:26 +0000 (13:04 +0300)]
Export block_FifoWake() :-(

This mostly reverts commit 8e3dd71128904eecf8439ef636bfdf5abadfaa1e.

10 years agomacosx: add proper bindings for text/stepper combos in subtitle panel
David Fuhrmann [Sat, 24 Aug 2013 09:33:58 +0000 (11:33 +0200)]
macosx: add proper bindings for text/stepper combos in subtitle panel

10 years agomacosx: fix layout of subs panel and increase spacing for translations
David Fuhrmann [Sat, 24 Aug 2013 09:04:00 +0000 (11:04 +0200)]
macosx: fix layout of subs panel and increase spacing for translations

10 years agomacosx: fix moaar utf8 rendering issues
David Fuhrmann [Sat, 24 Aug 2013 07:39:24 +0000 (09:39 +0200)]
macosx: fix moaar utf8 rendering issues

10 years agomacosx: fix another potential utf8 displaying issue in core dialogs
David Fuhrmann [Sat, 24 Aug 2013 07:14:40 +0000 (09:14 +0200)]
macosx: fix another potential utf8 displaying issue in core dialogs

10 years agomacosx: fix potential string format attack
David Fuhrmann [Sat, 24 Aug 2013 07:13:03 +0000 (09:13 +0200)]
macosx: fix potential string format attack

10 years agoqtsound: fix compilation failure from the future
Felix Paul Kühne [Fri, 23 Aug 2013 12:37:30 +0000 (14:37 +0200)]
qtsound: fix compilation failure from the future

10 years agoqtcapture: fix compilation failure from the future
Felix Paul Kühne [Fri, 23 Aug 2013 12:37:11 +0000 (14:37 +0200)]
qtcapture: fix compilation failure from the future

10 years agoQt: media library disambiguation.
Francois Cartegnie [Thu, 22 Aug 2013 17:40:12 +0000 (19:40 +0200)]
Qt: media library disambiguation.

If we need to axe something more...

10 years agom3u: rewrite probing (fix #9237)
Rémi Denis-Courmont [Thu, 22 Aug 2013 16:54:46 +0000 (19:54 +0300)]
m3u: rewrite probing (fix #9237)

10 years agoA bit of fortunes :)
Jean-Baptiste Kempf [Thu, 22 Aug 2013 16:54:34 +0000 (18:54 +0200)]
A bit of fortunes :)

10 years agoRevert "src: Fix for Mac OS X filesystem filename encoding"
Felix Paul Kühne [Thu, 22 Aug 2013 15:07:08 +0000 (17:07 +0200)]
Revert "src: Fix for Mac OS X filesystem filename encoding"

This reverts commit 0970461e97dc0dbd54006c7e7a9da80990f946a0.

10 years agovout_osx: fix performance issue if machine includes more than one GPU (close #7993)
Felix Paul Kühne [Thu, 22 Aug 2013 10:28:10 +0000 (12:28 +0200)]
vout_osx: fix performance issue if machine includes more than one GPU (close #7993)

10 years agopackage: fix nsis package building on OS X.
Naohiro KORIYAMA [Tue, 31 Jul 2012 16:58:57 +0000 (01:58 +0900)]
package: fix nsis package building on OS X.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agosrc: Fix for Mac OS X filesystem filename encoding
Naohiro KORIYAMA [Tue, 21 Aug 2012 02:34:07 +0000 (11:34 +0900)]
src: Fix for Mac OS X filesystem filename encoding

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years agoegl: avoid linking X
Naohiro KORIYAMA [Sun, 10 Jun 2012 00:56:55 +0000 (09:56 +0900)]
egl: avoid linking X

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
10 years agomacosx: fix UTF8 rendering issue in question dialog
Felix Paul Kühne [Thu, 22 Aug 2013 09:18:55 +0000 (11:18 +0200)]
macosx: fix UTF8 rendering issue in question dialog

10 years agocontrib: HarfBuzz 0.9.19
Naohiro KORIYAMA [Thu, 15 Nov 2012 12:16:16 +0000 (21:16 +0900)]
contrib: HarfBuzz 0.9.19

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoqt4: fx missing translation
Naohiro KORIYAMA [Wed, 6 Jun 2012 03:00:02 +0000 (12:00 +0900)]
qt4: fx missing translation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoauhal: limit scope of mutex
David Fuhrmann [Wed, 21 Aug 2013 17:42:41 +0000 (19:42 +0200)]
auhal: limit scope of mutex

This should suffice as the variable is only modified on this thread.
Avoids deadlock in refs #9141

10 years agovisu: fix the scope visualization drawing.
Adrien Maglo [Wed, 21 Aug 2013 15:13:15 +0000 (17:13 +0200)]
visu: fix the scope visualization drawing.

10 years agoomxil: Release picture in direct rendering mode.
Julian Scheel [Wed, 21 Aug 2013 08:53:41 +0000 (10:53 +0200)]
omxil: Release picture in direct rendering mode.

In direct rendering mode a picture reference is acquired from the video output
module. This reference has to be released when the internal omx buffer which
uses this reference is freed. This avoids a blocking condition where the video
output would wait for a picture to be freed forever.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoomxil: Activate mpeg2 on broadcom omx.
Julian Scheel [Wed, 21 Aug 2013 08:52:29 +0000 (10:52 +0200)]
omxil: Activate mpeg2 on broadcom omx.

Activate the mpeg2 module in the broadcom omx core. If this is used on a
Raspberry it is required to have a MPEG2 license key to activate this core.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: use mux=flac for encoding extension
Jean-Baptiste Kempf [Tue, 20 Aug 2013 22:19:21 +0000 (00:19 +0200)]
Qt: use mux=flac for encoding extension

Same issue as mp3 .raw extensions

10 years agoflac encoders: use the long format extradata
Rafaël Carré [Tue, 20 Aug 2013 21:56:03 +0000 (23:56 +0200)]
flac encoders: use the long format extradata

fLaC marker is helpful for file format detection

10 years agoQt: correctly restore the undocked playlist state
Jean-Baptiste Kempf [Tue, 20 Aug 2013 17:39:24 +0000 (19:39 +0200)]
Qt: correctly restore the undocked playlist state

Close #9223

10 years agoQt: fix a potential crash in audioDevice Menu
Jean-Baptiste Kempf [Tue, 20 Aug 2013 16:56:50 +0000 (18:56 +0200)]
Qt: fix a potential crash in audioDevice Menu

Close #9222

10 years agoMP4: do not set total tracks to 0
Jean-Baptiste Kempf [Tue, 20 Aug 2013 13:27:49 +0000 (15:27 +0200)]
MP4: do not set total tracks to 0

That doesn't really make sense

10 years agocontrib: png: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:06:00 +0000 (14:06 +0200)]
contrib: png: don't build binaries

10 years agocontrib: iconv: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:03:51 +0000 (14:03 +0200)]
contrib: iconv: don't build binaries

10 years agocontrib: libxml2: don't build binaries
Rafaël Carré [Tue, 20 Aug 2013 12:00:41 +0000 (14:00 +0200)]
contrib: libxml2: don't build binaries

10 years agoQt: PLModel: don't rely on model's root for finding root type
Francois Cartegnie [Mon, 19 Aug 2013 21:00:05 +0000 (23:00 +0200)]
Qt: PLModel: don't rely on model's root for finding root type

10 years agoAvformat: split the options from demux and mux in sections
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:40:05 +0000 (15:40 +0200)]
Avformat: split the options from demux and mux in sections

10 years agoThreadDisplayPreparePicture: simplify
Rafaël Carré [Mon, 19 Aug 2013 12:53:52 +0000 (14:53 +0200)]
ThreadDisplayPreparePicture: simplify

10 years agoThreadDisplayPreparePicture: simplify
Rafaël Carré [Mon, 19 Aug 2013 12:23:48 +0000 (14:23 +0200)]
ThreadDisplayPreparePicture: simplify

Make code more verbose and easy to read

10 years agovout thread: inline ThreadManage
Rafaël Carré [Mon, 19 Aug 2013 06:21:31 +0000 (08:21 +0200)]
vout thread: inline ThreadManage

10 years agovout thread: split out command processing function
Rafaël Carré [Mon, 19 Aug 2013 06:18:25 +0000 (08:18 +0200)]
vout thread: split out command processing function

10 years agoThreadDisplayPicture: simplify prototype
Rafaël Carré [Mon, 19 Aug 2013 06:07:17 +0000 (08:07 +0200)]
ThreadDisplayPicture: simplify prototype

10 years agoProvide a better name for the mono downmixer
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:28:00 +0000 (15:28 +0200)]
Provide a better name for the mono downmixer

10 years agoName AVIO as AVIO not FFmpeg or libavformat
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:24:01 +0000 (15:24 +0200)]
Name AVIO as AVIO not FFmpeg or libavformat

10 years agoAvio: correctly split input and sout options
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:15:21 +0000 (15:15 +0200)]
Avio: correctly split input and sout options

10 years agoRevert "avio: differentiate between avio-options and sout-avio-options in the GUI"
Jean-Baptiste Kempf [Mon, 19 Aug 2013 13:08:00 +0000 (15:08 +0200)]
Revert "avio: differentiate between avio-options and sout-avio-options in the GUI"

This reverts commit 03ae4817bae516a16dd7feb2c13c6a4d81d89068.

10 years agoRTSP VoD: mark the old one as legacy
Jean-Baptiste Kempf [Mon, 19 Aug 2013 12:59:48 +0000 (14:59 +0200)]
RTSP VoD: mark the old one as legacy

10 years agoQt: remove not important Sout profiles
Jean-Baptiste Kempf [Mon, 19 Aug 2013 09:47:46 +0000 (11:47 +0200)]
Qt: remove not important Sout profiles

10 years agoQt: do not free module config too early
Edward Wang [Mon, 19 Aug 2013 03:17:16 +0000 (23:17 -0400)]
Qt: do not free module config too early

Fix regression introduced in 95f145933a553e082eb42577d72dbf8bdea9972b

ConfigControl::getName() uses memory of p_item which is a part of p_config memory. This was causing a crash when trying to save the preferences, as the constructor had already destroyed it upon creation.

Instead, free the p_config memory on the destructor, which is automatically called when the dialog closes, saved or cancelled. Verified to not leak any memory.

Close #9214

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoQt: fix mp3 extension
Jean-Baptiste Kempf [Mon, 19 Aug 2013 09:39:02 +0000 (11:39 +0200)]
Qt: fix mp3 extension

Close #9200

10 years agoavio: differentiate between avio-options and sout-avio-options in the GUI
Edward Wang [Mon, 19 Aug 2013 03:27:19 +0000 (23:27 -0400)]
avio: differentiate between avio-options and sout-avio-options in the GUI

Without this fix, they are indistinguishable in the GUI and the user cannot know which is which.

Pointed-out-by: Eric Hameleers <alien@slackware.com>
Signed-off-by: Rafaël Carré <funman@videolan.org>
10 years agoavcodec: no period after option short name
Edward Wang [Mon, 19 Aug 2013 03:27:18 +0000 (23:27 -0400)]
avcodec: no period after option short name

Normalise it with other options in advanced prefs.

Signed-off-by: Rafaël Carré <funman@videolan.org>
10 years agoOpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.
Adrien Maglo [Sun, 18 Aug 2013 21:06:09 +0000 (23:06 +0200)]
OpenGL: Set $GL_LIBS to "-lopengl32" for the Windows case.

10 years agoVisu: Add missing linked library (-lm).
Adrien Maglo [Sun, 18 Aug 2013 20:41:47 +0000 (22:41 +0200)]
Visu: Add missing linked library (-lm).

10 years agovhs, oldmovie: code cosmetics
Vianney Boyer [Sun, 18 Aug 2013 19:38:45 +0000 (21:38 +0200)]
vhs, oldmovie: code cosmetics

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoFreeze: Freeze interactive video filter
Vianney Boyer [Sun, 18 Aug 2013 19:38:45 +0000 (21:38 +0200)]
Freeze: Freeze interactive video filter

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agoNew 3D OpenGL audio spectrum visualization.
Adrien Maglo [Mon, 29 Jul 2013 09:14:07 +0000 (11:14 +0200)]
New 3D OpenGL audio spectrum visualization.

10 years agoQt: information is uncountable in this case
Edward Wang [Sun, 18 Aug 2013 03:28:59 +0000 (23:28 -0400)]
Qt: information is uncountable in this case

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agolibvlc: equalizer: ISO frequencies are the new default
Ronald Wright [Sun, 18 Aug 2013 16:16:54 +0000 (11:16 -0500)]
libvlc: equalizer: ISO frequencies are the new default

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years agocontrib: modplug: use git version
Rafaël Carré [Sun, 18 Aug 2013 19:15:40 +0000 (21:15 +0200)]
contrib: modplug: use git version

Close #9209

10 years agoaccess_out: add CAN_SEEK control
Steinar H. Gunderson [Sun, 18 Aug 2013 19:00:37 +0000 (22:00 +0300)]
access_out: add CAN_SEEK control

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agotypo
Rémi Denis-Courmont [Sun, 18 Aug 2013 18:56:49 +0000 (21:56 +0300)]
typo

10 years agoQt: PLModel: remove inserts agregation.
Francois Cartegnie [Sun, 16 Sep 2012 18:36:11 +0000 (20:36 +0200)]
Qt: PLModel: remove inserts agregation.

No longer needed as the model now behaves correctly.
reverts 442bad11d6f53401ef6994fc7cbda4e3531ebaef

10 years agoQt: Set popup entries logic into models, and keep interaction outside.
Francois Cartegnie [Tue, 11 Sep 2012 13:38:25 +0000 (15:38 +0200)]
Qt: Set popup entries logic into models, and keep interaction outside.

- popup now created according to the selected items and models.
- fixes view/popup model abstraction.
- allows introducing new methods/models.

10 years agoQt: fix MLModel uris
Francois Cartegnie [Sat, 15 Sep 2012 12:53:24 +0000 (14:53 +0200)]
Qt: fix MLModel uris

10 years agoQt: MLItem: missing locks.
Francois Cartegnie [Sat, 8 Sep 2012 13:40:45 +0000 (15:40 +0200)]
Qt: MLItem: missing locks.

Never ends..

10 years agoQt: Rework Models.
Francois Cartegnie [Tue, 31 Jul 2012 17:46:41 +0000 (19:46 +0200)]
Qt: Rework Models.

- Separate common methods into interface, allowing multiple
inheritance architecture (to use any implemented AbstractModel)
- Code factorization between PL/ML models (and PL/ML Items)
- Use proxy model for views and redirection to the PL/ML models.
Fixes filtering and also really make use of the current model (only the
PL Model was really used before, models were half switched).
- stop storing/serializing selection indexes
- ML Missing locks and bug fixes
- Move ML callback into event loop
- ML Items leaks fixes
- Code factorization
- Dead code removal

10 years agomod: validate meta data (fixes #9206)
Rémi Denis-Courmont [Sat, 17 Aug 2013 19:15:54 +0000 (22:15 +0300)]
mod: validate meta data (fixes #9206)

It might be better to convert from the proper character encoding to
UTF-8, but I do not know what proper is.

10 years agometa: add assertion
Rémi Denis-Courmont [Sat, 17 Aug 2013 19:17:42 +0000 (22:17 +0300)]
meta: add assertion

10 years agoDo not truncate the last character in net_Gets().
Georgi Chorbadzhiyski [Sat, 17 Aug 2013 18:31:51 +0000 (21:31 +0300)]
Do not truncate the last character in net_Gets().

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
10 years agomacosx: fix copy and paste bug causing wrong acodec in CAS
David Fuhrmann [Sat, 17 Aug 2013 15:13:55 +0000 (17:13 +0200)]
macosx: fix copy and paste bug causing wrong acodec in CAS

10 years agotranscode: simplify audio channel stuff a littlebit
Ilkka Ollakka [Sat, 17 Aug 2013 13:44:37 +0000 (16:44 +0300)]
transcode: simplify audio channel stuff a littlebit

tested with ticket 9022 samples to 2 channel and without channel
definition. Output files seemed to have correct channel amount in both
cases.

refs #9022

10 years agoCoreGraphicsLayer: update accessory files
Felix Paul Kühne [Sat, 17 Aug 2013 13:19:53 +0000 (15:19 +0200)]
CoreGraphicsLayer: update accessory files

10 years agoNew CoreGraphics based video output drawing on CoreAnimation layers
Felix Paul Kühne [Sun, 21 Apr 2013 15:12:13 +0000 (17:12 +0200)]
New CoreGraphics based video output drawing on CoreAnimation layers

10 years agocontrib: qt4: fix for mingw-w64
Rafaël Carré [Fri, 16 Aug 2013 19:26:19 +0000 (21:26 +0200)]
contrib: qt4: fix for mingw-w64

10 years agopicture: do not clobber picture reference count when destroying a pool
Rémi Denis-Courmont [Wed, 14 Aug 2013 16:36:31 +0000 (19:36 +0300)]
picture: do not clobber picture reference count when destroying a pool

I am not taking a stand on whether pictures should or should not have
references when the pool is destroyed. It is hard to support for some
video outputs (and indeed not all of them do so correctly).
Nevertheless, it can happen, so the core might as well deal with this.

Feel free to undo this and add an assertion, if you fix all affected
code paths.

10 years agoavcodec: set frame samples to 0 if frame fill fails in encode, this way encode_audio2...
Ilkka Ollakka [Fri, 16 Aug 2013 12:59:00 +0000 (15:59 +0300)]
avcodec: set frame samples to 0 if frame fill fails in encode, this way encode_audio2 doesn't crash