platform/upstream/gst-libav.git
14 years agoUse orc instead of liboil for CPU feature detection
Sebastian Dröge [Mon, 14 Jun 2010 12:38:44 +0000 (14:38 +0200)]
Use orc instead of liboil for CPU feature detection

14 years agoconfigure: Use GLIB_EXTRA_CFLAGS
Sebastian Dröge [Mon, 14 Jun 2010 11:28:41 +0000 (13:28 +0200)]
configure: Use GLIB_EXTRA_CFLAGS

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 11:05:39 +0000 (13:05 +0200)]
Automatic update of common submodule

From 7a0fdf5 to c804988

14 years agoAutomatic update of common submodule
Sebastian Dröge [Mon, 14 Jun 2010 09:35:21 +0000 (11:35 +0200)]
Automatic update of common submodule

From 6da3bab to 7a0fdf5

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sat, 12 Jun 2010 06:29:43 +0000 (08:29 +0200)]
Automatic update of common submodule

From 733fca9 to 6da3bab

14 years agogstffmpegcodecmap: Fix ATRAC1/3 caps
Albert Lee [Fri, 11 Jun 2010 06:23:34 +0000 (08:23 +0200)]
gstffmpegcodecmap: Fix ATRAC1/3 caps

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:40:29 +0000 (12:40 -0700)]
Automatic update of common submodule

From fad145b to 733fca9

14 years agoAutomatic update of common submodule
David Schleef [Wed, 9 Jun 2010 19:34:23 +0000 (12:34 -0700)]
Automatic update of common submodule

From 47683c1 to fad145b

14 years agoffmpegdec: fix typo in comment
Zaheer Abbas Merali [Fri, 4 Jun 2010 17:30:59 +0000 (18:30 +0100)]
ffmpegdec: fix typo in comment

14 years agoAutomatic update of common submodule
David Schleef [Wed, 2 Jun 2010 06:49:41 +0000 (23:49 -0700)]
Automatic update of common submodule

From 17f89e5 to 47683c1

14 years agoAutomatic update of common submodule
David Schleef [Wed, 2 Jun 2010 05:55:28 +0000 (22:55 -0700)]
Automatic update of common submodule

From fd7ca04 to 17f89e5

14 years agoconfigure.ac: Execute ffmpeg's configure command from that directory
Edward Hervey [Mon, 31 May 2010 17:18:20 +0000 (19:18 +0200)]
configure.ac: Execute ffmpeg's configure command from that directory

Avoids stupid sed warnings

14 years agoconfigure.ac: Don't build filters
Edward Hervey [Mon, 31 May 2010 16:53:51 +0000 (18:53 +0200)]
configure.ac: Don't build filters

We don't use them

14 years agoffmpegrev: Switch to head of 0.6 branch
Edward Hervey [Mon, 31 May 2010 16:53:34 +0000 (18:53 +0200)]
ffmpegrev: Switch to head of 0.6 branch

In preparation for ffmpeg 0.6 release

14 years agocodecmap: First round of type mapping wrapping : image formats
Edward Hervey [Mon, 31 May 2010 16:53:12 +0000 (18:53 +0200)]
codecmap: First round of type mapping wrapping : image formats

14 years agoffmpegdec/enc: Blacklist more raw formats
Edward Hervey [Mon, 31 May 2010 16:44:02 +0000 (18:44 +0200)]
ffmpegdec/enc: Blacklist more raw formats

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 26 May 2010 10:56:11 +0000 (11:56 +0100)]
Automatic update of common submodule

From 357b0db to fd7ca04

14 years agobuild: make autotools put .m4 files into m4/ instead of common/m4/
Tim-Philipp Müller [Tue, 25 May 2010 13:01:34 +0000 (14:01 +0100)]
build: make autotools put .m4 files into m4/ instead of common/m4/

We don't want generated/copied files in common.

14 years agoconfigure: avoid bash-ism
Tim-Philipp Müller [Tue, 25 May 2010 12:56:49 +0000 (13:56 +0100)]
configure: avoid bash-ism

14 years agobuild: add cruft rules for common/shave*
Tim-Philipp Müller [Tue, 25 May 2010 12:26:45 +0000 (13:26 +0100)]
build: add cruft rules for common/shave*

14 years agoffmpegdec: sipro decoder should have higher rank than realaudiodec
Tim-Philipp Müller [Tue, 25 May 2010 11:55:14 +0000 (12:55 +0100)]
ffmpegdec: sipro decoder should have higher rank than realaudiodec

14 years agoffmpegdec: Don't leak the GstDataPassThrough items
Edward Hervey [Mon, 17 May 2010 17:42:41 +0000 (19:42 +0200)]
ffmpegdec: Don't leak the GstDataPassThrough items

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 14 May 2010 17:25:58 +0000 (18:25 +0100)]
Automatic update of common submodule

From 4d67bd6 to 357b0db

14 years agogstffmpegenc: Make getcaps proxy the downstream height/width/framerate requirements
Olivier Crête [Fri, 6 Mar 2009 18:47:05 +0000 (13:47 -0500)]
gstffmpegenc: Make getcaps proxy the downstream height/width/framerate requirements

See #577784.

14 years agocodecmap: Respect the various h263 options
Olivier Crête [Fri, 6 Mar 2009 02:35:46 +0000 (21:35 -0500)]
codecmap: Respect the various h263 options

See #577784.

14 years agogstffmpegcfg: Expose loop-filter flag
Olivier Crête [Fri, 6 Mar 2009 00:12:18 +0000 (19:12 -0500)]
gstffmpegcfg: Expose loop-filter flag

See #577784.

14 years agoffmpegcodecmap: Add mapping for SIPR
Edward Hervey [Sat, 8 May 2010 11:24:47 +0000 (13:24 +0200)]
ffmpegcodecmap: Add mapping for SIPR

14 years agodoap: update repository info from cvs->git and maintainers
Tim-Philipp Müller [Tue, 20 Apr 2010 16:24:50 +0000 (17:24 +0100)]
doap: update repository info from cvs->git and maintainers

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Fri, 23 Apr 2010 13:42:03 +0000 (14:42 +0100)]
Automatic update of common submodule

From fc85867 to 4d67bd6

14 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 9 Apr 2010 09:23:37 +0000 (11:23 +0200)]
Automatic update of common submodule

From c1d07dd to fc85867

14 years agoAutomatic update of common submodule
Edward Hervey [Wed, 24 Mar 2010 17:55:48 +0000 (18:55 +0100)]
Automatic update of common submodule

From 55cd514 to c1d07dd

14 years agopostproc: Mark postproc filters table as const
Sebastian Dröge [Wed, 24 Mar 2010 15:37:37 +0000 (16:37 +0100)]
postproc: Mark postproc filters table as const

14 years agotests: Fix compiler warning
Sebastian Dröge [Wed, 24 Mar 2010 12:15:18 +0000 (13:15 +0100)]
tests: Fix compiler warning

14 years agoffmpeg: Fix some remaining compiler warnings
Sebastian Dröge [Wed, 24 Mar 2010 11:36:27 +0000 (12:36 +0100)]
ffmpeg: Fix some remaining compiler warnings

14 years agobuild: Add all kinds of compiler warning flags and fix the resulting warnings
Sebastian Dröge [Wed, 24 Mar 2010 11:07:28 +0000 (12:07 +0100)]
build: Add all kinds of compiler warning flags and fix the resulting warnings

14 years agoconfigure: $GST_CVS -> $GST_GIT
Sebastian Dröge [Wed, 24 Mar 2010 10:53:46 +0000 (11:53 +0100)]
configure: $GST_CVS -> $GST_GIT

14 years agoffmpeg: Use gst_element_set_details_simple()
Sebastian Dröge [Wed, 24 Mar 2010 10:51:26 +0000 (11:51 +0100)]
ffmpeg: Use gst_element_set_details_simple()

14 years agogstffmpegcodecmap: Give a proper mapping for NSV format
Edward Hervey [Tue, 23 Mar 2010 17:53:24 +0000 (18:53 +0100)]
gstffmpegcodecmap: Give a proper mapping for NSV format

14 years agoffdec: Update caps if the aspect ratio changes
Raimo Järvi [Thu, 18 Mar 2010 13:08:51 +0000 (14:08 +0100)]
ffdec: Update caps if the aspect ratio changes

Fixes bug #613231.

14 years agoAutomatic update of common submodule
Edward Hervey [Fri, 12 Mar 2010 13:00:10 +0000 (14:00 +0100)]
Automatic update of common submodule

From e272f71 to 55cd514

14 years agoffdec: Make metadata writable before setting caps
Thiago Santos [Thu, 11 Mar 2010 13:13:46 +0000 (10:13 -0300)]
ffdec: Make metadata writable before setting caps

In case we haven't created the output buffer, we should make
metadata writable before setting caps on it.
Fixes check unit tests.

14 years agoffdec_aac: Do not parse raw format
Thiago Santos [Mon, 8 Mar 2010 18:00:05 +0000 (15:00 -0300)]
ffdec_aac: Do not parse raw format

If the stream is 'raw' format, do not use parsers.
Re-enables the aac decoder by putting it back to default
ffdec rank.

Fixes #566250

14 years agoAutomatic update of common submodule
Benjamin Otte [Thu, 11 Mar 2010 10:21:30 +0000 (11:21 +0100)]
Automatic update of common submodule

From df8a7c8 to e272f71

14 years agoUpdate for recent changes to common submodule
Benjamin Otte [Wed, 10 Mar 2010 21:10:08 +0000 (22:10 +0100)]
Update for recent changes to common submodule

This just replaces every "$ERROR_CFLAGS" usage with a usage of
"$WARNING_CFLAGS $ERROR_CFLAGS" to get the same functionality as
previously.

Actually using that separation will happen later.

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 20:52:41 +0000 (21:52 +0100)]
Automatic update of common submodule

From 9720a7d to df8a7c8

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 19:44:28 +0000 (20:44 +0100)]
Automatic update of common submodule

From 0b6e072 to 9720a7d

14 years agoAutomatic update of common submodule
Benjamin Otte [Wed, 10 Mar 2010 15:10:27 +0000 (16:10 +0100)]
Automatic update of common submodule

From 7cc5eb4 to 0b6e072

14 years agoconfigure.ac: And back to development we go...
Edward Hervey [Wed, 10 Mar 2010 09:06:46 +0000 (10:06 +0100)]
configure.ac: And back to development we go...

... even if some people didn't pay attention :P

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 10 Mar 2010 01:11:09 +0000 (01:11 +0000)]
Automatic update of common submodule

From 7aa65b5 to 7cc5eb4

14 years agoAutomatic update of common submodule
Sebastian Dröge [Tue, 9 Mar 2010 21:41:00 +0000 (21:41 +0000)]
Automatic update of common submodule

From 44ecce7 to 7aa65b5

14 years agoconfigure: Use automake 1.11 silent rules instead of shave if available
Sebastian Dröge [Fri, 26 Feb 2010 14:48:43 +0000 (15:48 +0100)]
configure: Use automake 1.11 silent rules instead of shave if available

This makes sure that we use something that is still maintained and
also brings back libtool 1.5 support.

14 years agoreleasing 0.10.10, "It's the bomb" RELEASE-0.10.10
Edward Hervey [Sat, 6 Mar 2010 13:06:06 +0000 (14:06 +0100)]
releasing 0.10.10, "It's the bomb"

14 years ago0.10.9.4 pre-release
Edward Hervey [Thu, 4 Mar 2010 08:55:33 +0000 (09:55 +0100)]
0.10.9.4 pre-release

14 years agoffmpegdemux: Use av_free_packet.
Edward Hervey [Thu, 4 Mar 2010 07:58:36 +0000 (08:58 +0100)]
ffmpegdemux: Use av_free_packet.

Fixes #611782

14 years agogstffmpegdec: Disable direct-rendering for svq1/vp56 decoders.
Edward Hervey [Wed, 3 Mar 2010 17:46:25 +0000 (18:46 +0100)]
gstffmpegdec: Disable direct-rendering for svq1/vp56 decoders.

They use a non-standard stride which we can't support.

Fixes #610613

14 years agogstffmpegcodecmap: Remove 'format' specified for wmv3 decoder.
Edward Hervey [Wed, 3 Mar 2010 17:35:40 +0000 (18:35 +0100)]
gstffmpegcodecmap: Remove 'format' specified for wmv3 decoder.

Allows WMVA (Advanced Profile) videos to be properly auto-linked.
Doesn't introduce a regression for VC1 files.

Fixes #611722

14 years agogstffmpegdec: Handle durations in reordered frames
Edward Hervey [Sun, 28 Feb 2010 14:10:34 +0000 (15:10 +0100)]
gstffmpegdec: Handle durations in reordered frames

The buffer durations were not being reordered along with the timestamp
and offset of the buffers, resulting in buffers using the duration of the
latest incoming frame instead of their original frame.

Fixes #611398

14 years ago0.10.9.3 pre-release
Tim-Philipp Müller [Wed, 24 Feb 2010 22:05:50 +0000 (22:05 +0000)]
0.10.9.3 pre-release

14 years agoffmpegdec: do not store timestamp for buffer that will be skipped
Mark Nauwelaerts [Fri, 19 Feb 2010 19:33:06 +0000 (20:33 +0100)]
ffmpegdec: do not store timestamp for buffer that will be skipped

Fixes #610481.

14 years agoconfigure.ac: 0.10.19.2 pre-release
Edward Hervey [Fri, 19 Feb 2010 15:23:27 +0000 (16:23 +0100)]
configure.ac: 0.10.19.2 pre-release

14 years agoconfigure.ac: Add build directories to CFLAGS
Edward Hervey [Fri, 19 Feb 2010 16:40:07 +0000 (17:40 +0100)]
configure.ac: Add build directories to CFLAGS

Needed to pick up files created at compile time (like libavutil/avconfig.h)

14 years agogstffmpegdec: Don't enable xvmc decoders, we can't support the output
Edward Hervey [Thu, 18 Feb 2010 12:28:40 +0000 (13:28 +0100)]
gstffmpegdec: Don't enable xvmc decoders, we can't support the output

14 years agogstffmpegcodecmap: Add mapping for Indeo 5
Edward Hervey [Thu, 18 Feb 2010 12:27:15 +0000 (13:27 +0100)]
gstffmpegcodecmap: Add mapping for Indeo 5

14 years agogstffmpegcodecmap: Add mapping for Windows Media Speech
Edward Hervey [Thu, 18 Feb 2010 12:24:39 +0000 (13:24 +0100)]
gstffmpegcodecmap: Add mapping for Windows Media Speech

14 years agoffmpegrev: Move to FFmpeg revision of Feb 18th 2010
Edward Hervey [Thu, 18 Feb 2010 12:29:03 +0000 (13:29 +0100)]
ffmpegrev: Move to FFmpeg revision of Feb 18th 2010

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 14 Feb 2010 22:18:58 +0000 (23:18 +0100)]
Automatic update of common submodule

From 96dc793 to 44ecce7

14 years agoffdec: fixup QCELP to always be mono
Wim Taymans [Thu, 4 Feb 2010 16:08:41 +0000 (17:08 +0100)]
ffdec: fixup QCELP to always be mono

Make QCELP always mono, even if the caps tell us a different layout.

14 years agoffmpegdec: only clip to a smaller region
Wim Taymans [Thu, 4 Feb 2010 12:26:16 +0000 (13:26 +0100)]
ffmpegdec: only clip to a smaller region

When we have an input width/height that should be used for clipping, only
perform the clipping if the rectangle is smaller than the actual picture size.

Fixes #330681

14 years agoffdec: free audio buffer when not decoded
Wim Taymans [Mon, 1 Feb 2010 14:25:11 +0000 (15:25 +0100)]
ffdec: free audio buffer when not decoded

When we don't decode an audio frame (for audio codecs that need a previous audio
frame) free the buffer we allocated.

See #608564

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sat, 30 Jan 2010 15:20:12 +0000 (15:20 +0000)]
Automatic update of common submodule

From 15d47a6 to 96dc793

14 years agoffmpegcodecmap: don't escape codec_data
Wim Taymans [Fri, 29 Jan 2010 12:58:20 +0000 (13:58 +0100)]
ffmpegcodecmap: don't escape codec_data

Don't escape the codec_data, it breaks some streams (but likely also fixes
others). It's better to leave it as is, like most other players do.

See #608332

14 years agoffmpegmux/demux: Blacklist ASS/SSA 'demuxers'.
Edward Hervey [Mon, 25 Jan 2010 15:40:20 +0000 (16:40 +0100)]
ffmpegmux/demux: Blacklist ASS/SSA 'demuxers'.

They're not a container format, but a subtitle format, and we already
have plugins to handle those subtitle formats.

14 years agoffmpegrev: Update to ffmpeg/swscale checkouts of Mon Jan 25 2010
Edward Hervey [Mon, 25 Jan 2010 10:59:29 +0000 (11:59 +0100)]
ffmpegrev: Update to ffmpeg/swscale checkouts of Mon Jan 25 2010

ffmpeg received an overwhelming amount of h264 decoding improvements since
the last checkout, some minor fixes here and there and no apparent regressions.

Also set a specific swscale revision to checkout.

14 years agoffmpegcodecmap: Add proper mapping for Zip Block Motion Video
Edward Hervey [Sat, 23 Jan 2010 14:34:28 +0000 (15:34 +0100)]
ffmpegcodecmap: Add proper mapping for Zip Block Motion Video

14 years agoffmpegcodecmap: Add proper mapping for LOCO Lossless codec
Edward Hervey [Sat, 23 Jan 2010 13:41:49 +0000 (14:41 +0100)]
ffmpegcodecmap: Add proper mapping for LOCO Lossless codec

14 years agogstffmpegcodecmap: Make a proper mapping for Autodesk Animator Codec
Edward Hervey [Sat, 23 Jan 2010 12:51:24 +0000 (13:51 +0100)]
gstffmpegcodecmap: Make a proper mapping for Autodesk Animator Codec

14 years agoRevert a change I accidentally introduced in 7c91fb.
Alessandro Decina [Fri, 22 Jan 2010 12:46:01 +0000 (13:46 +0100)]
Revert a change I accidentally introduced in 7c91fb.

I removed the plugin name from an error message for no good reason.

14 years agoFix the check if libswscale needs enabling explicitly under OS X.
Alessandro Decina [Fri, 22 Jan 2010 11:58:13 +0000 (12:58 +0100)]
Fix the check if libswscale needs enabling explicitly under OS X.

14 years agoFix compiler warnings under OS X.
Alessandro Decina [Fri, 22 Jan 2010 10:43:39 +0000 (11:43 +0100)]
Fix compiler warnings under OS X.

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Wed, 20 Jan 2010 00:55:26 +0000 (00:55 +0000)]
Automatic update of common submodule

From 14cec89 to 15d47a6

14 years agoffvideoscale: Fix build warning.
Julien Moutte [Fri, 15 Jan 2010 21:21:42 +0000 (22:21 +0100)]
ffvideoscale: Fix build warning.

FFMpeg swscale function wants some const pointers.

14 years agogstffmpegcodecmap: Add mappings for new codecs
Edward Hervey [Wed, 6 Jan 2010 10:53:23 +0000 (11:53 +0100)]
gstffmpegcodecmap: Add mappings for new codecs

WMAPro
Dolby TrueHD
Atrac1
TwinVQ

14 years agoconfigure.ac: re-indent long line, remove --disable-vhook, use --disable-hwaccels
Edward Hervey [Wed, 6 Jan 2010 10:51:54 +0000 (11:51 +0100)]
configure.ac: re-indent long line, remove --disable-vhook, use --disable-hwaccels

14 years agoffmpegrev: Bump to ffmpeg r21150 from Jan 11th 2010
Edward Hervey [Wed, 6 Jan 2010 10:53:01 +0000 (11:53 +0100)]
ffmpegrev: Bump to ffmpeg r21150 from Jan 11th 2010

14 years agoffmpegenc: more consideration for upstream (audio) timestamps
Mark Nauwelaerts [Mon, 14 Dec 2009 20:20:53 +0000 (21:20 +0100)]
ffmpegenc: more consideration for upstream (audio) timestamps

14 years agoAutomatic update of common submodule
Mark Nauwelaerts [Mon, 21 Dec 2009 18:13:14 +0000 (19:13 +0100)]
Automatic update of common submodule

From 47cb23a to 14cec89

14 years agoffmpegdec: ignore all vdpau decoders
Tim-Philipp Müller [Wed, 9 Dec 2009 15:27:14 +0000 (15:27 +0000)]
ffmpegdec: ignore all vdpau decoders

Make check for vdpau decoders more generic. There might be vdpau
decoders we don't expect when using an external ffmpeg version,
and we want those blacklisted as well (e.g. ffdec_mpeg4_vdpau).

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 1 Dec 2009 15:08:27 +0000 (15:08 +0000)]
Automatic update of common submodule

From 87bf428 to 47cb23a

14 years agoAutomatic update of common submodule
Sebastian Dröge [Tue, 1 Dec 2009 13:18:06 +0000 (14:18 +0100)]
Automatic update of common submodule

From da4c75c to 87bf428

14 years agoAutomatic update of common submodule
Edward Hervey [Fri, 27 Nov 2009 17:56:28 +0000 (18:56 +0100)]
Automatic update of common submodule

From 53a2485 to da4c75c

14 years agocaps: Use default audio channel layouts for some codecs
Jan Schmidt [Fri, 20 Nov 2009 19:28:06 +0000 (20:28 +0100)]
caps: Use default audio channel layouts for some codecs

For a few white-listed codecs, use default fallback channel
layouts when ffmpeg doesn't inform us.

14 years agoffenc: Make keyframe forcing thread-safe
Olivier Crête [Sat, 21 Nov 2009 02:46:33 +0000 (21:46 -0500)]
ffenc: Make keyframe forcing thread-safe

Make the keyframe forcing thread-safe, also emit a downstream event
to allow muxers or payloaders to react appropriately.

https://bugzilla.gnome.org/show_bug.cgi?id=602556

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Thu, 19 Nov 2009 10:31:39 +0000 (10:31 +0000)]
Automatic update of common submodule

From 0702fe1 to 53a2485

14 years agoMove encoders and muxers to GST_RANK_SECONDARY.
Edward Hervey [Wed, 18 Nov 2009 16:36:48 +0000 (17:36 +0100)]
Move encoders and muxers to GST_RANK_SECONDARY.

14 years agoffdec: remove clipping hack
Wim Taymans [Mon, 16 Nov 2009 12:54:16 +0000 (13:54 +0100)]
ffdec: remove clipping hack

Remove a hack that seems to produce wrong clipping values.

14 years agoffmpeg: VC-1/WMV3 fixes.
Jan Schmidt [Thu, 1 Oct 2009 01:48:35 +0000 (02:48 +0100)]
ffmpeg: VC-1/WMV3 fixes.

Use format field in the pad caps to differentiate VC-1 from WMV3.
Fix a typo in the caps creation and parsing - the field is called
'format' - not 'fourcc'

Add a dodgy hack to populate the extradata size field
(first byte) when it is 0 - as it seems to be for some (Matroska)
test files.

14 years agoAlways give the most video restricted caps possible
Sjoerd Simons [Tue, 10 Nov 2009 11:30:50 +0000 (12:30 +0100)]
Always give the most video restricted caps possible

When the video caps aren't fixed yet, make sure we return the most
precise set of caps. It seems a regression was introduced in cc082f,
causing restricted caps to never be used if the context == NULL

None of the restricted caps generation uses the context, so no need to
check whether the context.

Fixes bug #578160.

14 years agoffmpegdec: Only restore default in AVCodecContext when needed.
Edward Hervey [Mon, 9 Nov 2009 18:19:25 +0000 (19:19 +0100)]
ffmpegdec: Only restore default in AVCodecContext when needed.

Resetting default values is currently very complex in libavcodec, so
we only call it when needed (i.e. when a context was previously used).

Shaves off 10% of the setup of a decoder.

15 years agoffmpegdec: printf format fixes
Tim-Philipp Müller [Thu, 5 Nov 2009 23:54:47 +0000 (23:54 +0000)]
ffmpegdec: printf format fixes

15 years agoffdec: Don't use an allocated 1-entry structure for private data.
Edward Hervey [Mon, 2 Nov 2009 08:05:13 +0000 (09:05 +0100)]
ffdec: Don't use an allocated 1-entry structure for private data.

If there's only one entry, just use that entry.