platform/upstream/gstreamer.git
15 years agormdemux: plug buffer leaking
Mark Nauwelaerts [Fri, 19 Jun 2009 15:25:58 +0000 (17:25 +0200)]
rmdemux: plug buffer leaking

15 years agoasfdepay: guard against dropped buffers
Wim Taymans [Mon, 22 Jun 2009 15:36:21 +0000 (17:36 +0200)]
asfdepay: guard against dropped buffers

If a buffer was dropped, we might request data from the adapter that is not
there and then we get a NULL buffer.

15 years agoasfdemux: set DISCONT on streams
Wim Taymans [Mon, 22 Jun 2009 15:16:58 +0000 (17:16 +0200)]
asfdemux: set DISCONT on streams

When we receive a DISCONT as input, don't clear our complete state but simply
mark a discont that will be put on the next buffer. The code will be able to
handle and throw away incomplete data.
Add some more debug info.
Remove an unused variable.

15 years agoasfdepay: set DELTA_UNIT flag correctly
Wim Taymans [Mon, 22 Jun 2009 15:15:52 +0000 (17:15 +0200)]
asfdepay: set DELTA_UNIT flag correctly

Only set the DELTA_UNIT flag when we are not dealing with a keyframe.
Add some more debug info.

15 years agoasfdemux: fix latency calculations
Wim Taymans [Mon, 22 Jun 2009 11:37:58 +0000 (13:37 +0200)]
asfdemux: fix latency calculations

We need to check for -1 as an invalid timestamp, not 1.

15 years agomp3parse: don't put every single frame into the index
Tim-Philipp Müller [Tue, 16 Jun 2009 08:45:59 +0000 (09:45 +0100)]
mp3parse: don't put every single frame into the index

Let's not put every single mp3 frame in our index, a few frames per
second should be more than enough. For now use an index interval
of 100ms-500ms depending on the upstream size, to keep the index at
a reasonable size. Factor out the code that adds the index entry
into a separate function for better code readability.

15 years agomp3parse: assume seekability only if we know the upstream size
Tim-Philipp Müller [Tue, 16 Jun 2009 00:40:42 +0000 (01:40 +0100)]
mp3parse: assume seekability only if we know the upstream size

While technically upstream may be seekable even if it doesn't know
the exact size, I can't think of a use case where this distincation
is relevant in practice, so for now just assume we're not seekable
if upstream doesn't provide us with a size. Makes sure we don't
build a seek index when streaming internet radio with sources that
pretend to be seekable until you try to actually seek.

15 years agoFix x264 requirement in SPEC file
Christian Schaller [Fri, 19 Jun 2009 16:46:12 +0000 (17:46 +0100)]
Fix x264 requirement in SPEC file

15 years agox264enc, rdtmanager: fix compilation with debugging disabled
Tim-Philipp Müller [Fri, 19 Jun 2009 14:01:46 +0000 (15:01 +0100)]
x264enc, rdtmanager: fix compilation with debugging disabled

15 years agodocs: Bump common. Fix comment in the docs Makefile.am
Jan Schmidt [Thu, 11 Jun 2009 12:48:22 +0000 (13:48 +0100)]
docs: Bump common. Fix comment in the docs Makefile.am

15 years agoBack to development -> 0.10.12.1
Jan Schmidt [Thu, 18 Jun 2009 19:26:04 +0000 (20:26 +0100)]
Back to development -> 0.10.12.1

15 years agoAdd 0.10.12 release to the doap file
Jan Schmidt [Thu, 18 Jun 2009 07:54:17 +0000 (08:54 +0100)]
Add 0.10.12 release to the doap file

15 years agoRelease 0.10.12
Jan Schmidt [Thu, 18 Jun 2009 07:34:54 +0000 (08:34 +0100)]
Release 0.10.12

15 years agoUpdate .po files
Jan Schmidt [Thu, 18 Jun 2009 07:34:46 +0000 (08:34 +0100)]
Update .po files

15 years agoUpdate .po files
Jan Schmidt [Thu, 18 Jun 2009 07:04:40 +0000 (08:04 +0100)]
Update .po files

15 years ago0.10.11.2 pre-release
Jan Schmidt [Fri, 5 Jun 2009 21:10:02 +0000 (22:10 +0100)]
0.10.11.2 pre-release

15 years agowin32: Remove #undef inline from the win32 config.h
Jan Schmidt [Fri, 5 Jun 2009 21:07:31 +0000 (22:07 +0100)]
win32: Remove #undef inline from the win32 config.h

15 years agomad, id3mux: (re)move broken, unmaintained and unloved id3mux element
Tim-Philipp Müller [Fri, 5 Jun 2009 19:53:57 +0000 (20:53 +0100)]
mad, id3mux: (re)move broken, unmaintained and unloved id3mux element

It will be reborn with a shiny new code base under its hood in -bad.
See #581756 and #565764.

15 years agogitignore: Ignore some built files in the test area
Jan Schmidt [Fri, 5 Jun 2009 18:48:28 +0000 (19:48 +0100)]
gitignore: Ignore some built files in the test area

15 years agodocs: Update plugin inspect files
Jan Schmidt [Fri, 5 Jun 2009 18:46:17 +0000 (19:46 +0100)]
docs: Update plugin inspect files

15 years agoMoved 'x264enc' from -bad to -ugly
Jan Schmidt [Fri, 5 Jun 2009 18:25:54 +0000 (19:25 +0100)]
Moved 'x264enc' from -bad to -ugly

15 years ago[MOVED FROM BAD 28/28] x264enc: add multipass-cache-file property
Wim Taymans [Mon, 25 May 2009 09:18:57 +0000 (11:18 +0200)]
[MOVED FROM BAD 28/28] x264enc: add multipass-cache-file property

Fixes #583627

15 years ago[MOVED FROM BAD 27/28] Remove wrong stuff from preset file
Christian Schaller [Sat, 9 May 2009 22:47:39 +0000 (23:47 +0100)]
[MOVED FROM BAD 27/28] Remove wrong stuff from preset file

15 years ago[MOVED FROM BAD 26/28] Add a more representative example preset file for x264
Christian Schaller [Sat, 9 May 2009 11:42:25 +0000 (12:42 +0100)]
[MOVED FROM BAD 26/28] Add a more representative example preset file for x264

15 years ago[MOVED FROM BAD 25/28] Add ranks to various muxers and encoders in -bad
Christian Schaller [Thu, 7 May 2009 16:53:42 +0000 (17:53 +0100)]
[MOVED FROM BAD 25/28] Add ranks to various muxers and encoders in -bad

15 years ago[MOVED FROM BAD 24/28] x264enc: add preset support
Stefan Kost [Wed, 29 Apr 2009 21:06:36 +0000 (00:06 +0300)]
[MOVED FROM BAD 24/28] x264enc: add preset support

Add preset iface and a (dummy) preset file as a starting point.

15 years ago[MOVED FROM BAD 23/28] x264enc: add some documentation on profile
Mark Nauwelaerts [Wed, 29 Apr 2009 14:57:36 +0000 (16:57 +0200)]
[MOVED FROM BAD 23/28] x264enc: add some documentation on profile

15 years ago[MOVED FROM BAD 22/28] x264enc: add force keyframe event handling
Janin Kolenc [Thu, 9 Apr 2009 21:53:39 +0000 (23:53 +0200)]
[MOVED FROM BAD 22/28] x264enc: add force keyframe event handling

Use the GstForceKeyUnit event to force a keyframe.
Fixes #578112.

15 years ago[MOVED FROM BAD 21/28] ext/x264/gstx264enc.c: Use hyphen in property name, perform...
Mark Nauwelaerts [Mon, 5 Jan 2009 10:28:58 +0000 (10:28 +0000)]
[MOVED FROM BAD 21/28] ext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer size check prior to mem access, and some mo...

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_class_init),
(gst_x264_enc_header_buf), (gst_x264_enc_encode_frame):
Use hyphen in property name, perform safety buffer size check
prior to mem access, and some more parentheses in macro.

15 years ago[MOVED FROM BAD 20/28] ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new...
Alessandro Decina [Fri, 2 Jan 2009 01:44:11 +0000 (01:44 +0000)]
[MOVED FROM BAD 20/28] ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.

Original commit message from CVS:
* ext/apexsink/Makefile.am:
Link against -lgcrpyto for RSA_new and RSA_free.
* ext/faac/gstfaac.c:
* ext/x264/gstx264enc.c:
Fix compiler warnings.

15 years ago[MOVED FROM BAD 19/28] ext/x264/gstx264enc.c: Construct source caps in more conventio...
Mark Nauwelaerts [Fri, 14 Nov 2008 19:52:24 +0000 (19:52 +0000)]
[MOVED FROM BAD 19/28] ext/x264/gstx264enc.c: Construct source caps in more conventional (and correct) manner.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps):
Construct source caps in more conventional (and correct) manner.

15 years ago[MOVED FROM BAD 18/28] Don't install static libs for plugins. Fixes #550851 for ...
Stefan Kost [Tue, 4 Nov 2008 12:42:30 +0000 (12:42 +0000)]
[MOVED FROM BAD 18/28] Don't install static libs for plugins. Fixes #550851 for -bad.

Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.

15 years ago[MOVED FROM BAD 17/28] ext/x264/gstx264enc.c: Adapt to slightly modified x264 API...
Mark Nauwelaerts [Mon, 27 Oct 2008 17:01:22 +0000 (17:01 +0000)]
[MOVED FROM BAD 17/28] ext/x264/gstx264enc.c: Adapt to slightly modified x264 API.  Fixes #555238.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder):
Adapt to slightly modified x264 API.  Fixes #555238.

15 years ago[MOVED FROM BAD 16/28] ext/x264/gstx264enc.*: Do not deal with duplicated input ...
Mark Nauwelaerts [Tue, 12 Aug 2008 16:13:15 +0000 (16:13 +0000)]
[MOVED FROM BAD 16/28] ext/x264/gstx264enc.*: Do not deal with duplicated input (timestamps).  If needed, a generic element can do so.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_reset),
(gst_x264_enc_chain), (gst_x264_enc_encode_frame):
* ext/x264/gstx264enc.h:
Do not deal with duplicated input (timestamps).  If needed,
a generic element can do so.
Do not manipulate input timestamps on the way out,
since that shifts the timeline and A/V sync.

15 years ago[MOVED FROM BAD 15/28] docs/plugins/gst-plugins-bad-plugins.args: Integrate new prope...
Mark Nauwelaerts [Tue, 12 Aug 2008 15:41:48 +0000 (15:41 +0000)]
[MOVED FROM BAD 15/28] docs/plugins/gst-plugins-bad-plugins.args: Integrate new properties into documentation.

Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
Integrate new properties into documentation.
* ext/x264/gstx264enc.c: (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_set_property), (gst_x264_enc_get_property):
Fix up API prior to eventual plugin move.
API: GstX264Enc:pass (provides more options, and changed to enum)

15 years ago[MOVED FROM BAD 14/28] Add documentation and unit test for x264enc.
Mark Nauwelaerts [Tue, 12 Aug 2008 13:08:39 +0000 (13:08 +0000)]
[MOVED FROM BAD 14/28] Add documentation and unit test for x264enc.

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* ext/x264/gstx264enc.c:
* tests/check/Makefile.am:
* tests/check/elements/x264enc.c: (setup_x264enc),
(cleanup_x264enc), (GST_START_TEST), (x264enc_suite), (main):
Add documentation and unit test for x264enc.

15 years ago[MOVED FROM BAD 13/28] ext/x264/gstx264enc.c: Allocate some buffers in more adaptive...
Mark Nauwelaerts [Mon, 11 Aug 2008 17:24:58 +0000 (17:24 +0000)]
[MOVED FROM BAD 13/28] ext/x264/gstx264enc.c: Allocate some buffers in more adaptive and economical fashion.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_init),
(gst_x264_enc_header_buf), (gst_x264_enc_encode_frame):
Allocate some buffers in more adaptive and economical fashion.

15 years ago[MOVED FROM BAD 12/28] configure.ac: Check for sufficiently up-to-date x264 API.
Mark Nauwelaerts [Mon, 11 Aug 2008 15:16:14 +0000 (15:16 +0000)]
[MOVED FROM BAD 12/28] configure.ac: Check for sufficiently up-to-date x264 API.

Original commit message from CVS:
* configure.ac:
Check for sufficiently up-to-date x264 API.
* ext/x264/gstx264enc.c: (gst_x264_enc_pass_get_type),
(gst_x264_enc_base_init), (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_set_property), (gst_x264_enc_get_property):
* ext/x264/gstx264enc.h:
Expose some more parameters of the x264 encoder as properties.

15 years ago[MOVED FROM BAD 11/28] ext/x264/gstx264enc.c: Coding style and layout; re-order some...
Mark Nauwelaerts [Fri, 8 Aug 2008 15:07:12 +0000 (15:07 +0000)]
[MOVED FROM BAD 11/28] ext/x264/gstx264enc.c: Coding style and layout; re-order some functions in more typical and natural flow.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_log_callback),
(gst_x264_enc_finalize), (gst_x264_enc_header_buf),
(gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps),
(gst_x264_enc_flush_frames):
Coding style and layout; re-order some functions in more
typical and natural flow.

15 years ago[MOVED FROM BAD 10/28] ext/x264/: Use GQueue in stead of custom queue code.
Mark Nauwelaerts [Fri, 8 Aug 2008 14:19:16 +0000 (14:19 +0000)]
[MOVED FROM BAD 10/28] ext/x264/: Use GQueue in stead of custom queue code.

Original commit message from CVS:
* ext/x264/Makefile.am:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps),
(gst_x264_enc_sink_set_caps), (gst_x264_enc_init),
(gst_x264_enc_reset), (gst_x264_enc_finalize),
(gst_x264_enc_flush_frames), (gst_x264_enc_sink_event),
(gst_x264_enc_chain), (gst_x264_enc_encode_frame),
(gst_x264_enc_change_state), (gst_x264_enc_set_property):
* ext/x264/gstx264enc.h:
Use GQueue in stead of custom queue code.
Factorize flushing out encoder delayed frames.
Factorize initialization and state change reset.

15 years ago[MOVED FROM BAD 09/28] Use configure-generated _stdint.h.
Mark Nauwelaerts [Fri, 8 Aug 2008 10:56:02 +0000 (10:56 +0000)]
[MOVED FROM BAD 09/28] Use configure-generated _stdint.h.

Original commit message from CVS:
* ext/x264/gstx264enc.h:
* sys/fbdev/gstfbdevsink.c:
Use configure-generated _stdint.h.

15 years ago[MOVED FROM BAD 08/28] ext/x264/: Use video format library and GST_WRITE_*_BE macros...
Mark Nauwelaerts [Fri, 8 Aug 2008 10:13:36 +0000 (10:13 +0000)]
[MOVED FROM BAD 08/28] ext/x264/: Use video format library and GST_WRITE_*_BE macros where applicable.

Original commit message from CVS:
* ext/x264/Makefile.am:
* ext/x264/gstx264enc.c: (gst_x264_enc_header_buf),
(gst_x264_enc_sink_set_caps), (gst_x264_enc_base_init),
(gst_x264_enc_class_init), (gst_x264_enc_log_callback),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_finalize), (gst_x264_enc_chain),
(gst_x264_enc_encode_frame), (plugin_init):
* ext/x264/gstx264enc.h:
Use video format library and GST_WRITE_*_BE macros where applicable.
Use finalize in stead of dispose.
Set up debug category and log callback.

15 years ago[MOVED FROM BAD 07/28] ext/x264/gstx264enc.c: Try harder not to crash when we get...
Tim-Philipp Müller [Wed, 4 Jun 2008 11:33:21 +0000 (11:33 +0000)]
[MOVED FROM BAD 07/28] ext/x264/gstx264enc.c: Try harder not to crash when we get an EOS event but haven't set up the encoder yet (as may ha...

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_header_buf),
(gst_x264_enc_sink_event), (gst_x264_enc_chain),
(gst_x264_enc_encode_frame):
Try harder not to crash when we get an EOS event but haven't set
up the encoder yet (as may happen when upstream errors out with
not-negotiated, for example). Also, always push the EOS event
downstream.

15 years ago[MOVED FROM BAD 06/28] ext/x264/gstx264enc.c: Fix caps memleak.
Wim Taymans [Tue, 11 Dec 2007 16:26:07 +0000 (16:26 +0000)]
[MOVED FROM BAD 06/28] ext/x264/gstx264enc.c: Fix caps memleak.

Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps):
Fix caps memleak.

15 years ago[MOVED FROM BAD 05/28] ext/x264/gstx264enc.c: Fix build against the libx264 version...
Tim-Philipp Müller [Fri, 26 Oct 2007 17:18:41 +0000 (17:18 +0000)]
[MOVED FROM BAD 05/28] ext/x264/gstx264enc.c: Fix build against the libx264 version that ships with debian stable.

Original commit message from CVS:
* ext/x264/gstx264enc.c:
Fix build against the libx264 version that ships with debian stable.

15 years ago[MOVED FROM BAD 04/28] Massive leak fixing, plus code cleanups.
Stefan Kost [Mon, 24 Sep 2007 10:53:37 +0000 (10:53 +0000)]
[MOVED FROM BAD 04/28] Massive leak fixing, plus code cleanups.

Original commit message from CVS:
* ext/audioresample/gstaudioresample.c:
* ext/x264/gstx264enc.c:
* gst/dvdspu/gstdvdspu.c:
* gst/dvdspu/gstdvdspu.h:
* gst/festival/gstfestival.c:
* gst/h264parse/gsth264parse.c:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* gst/nuvdemux/gstnuvdemux.c:
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
* sys/vcd/vcdsrc.c:
Massive leak fixing, plus code cleanups.

15 years ago[MOVED FROM BAD 03/28] Add stdlib include (free, atoi, exit).
Stefan Kost [Wed, 18 Jul 2007 07:35:32 +0000 (07:35 +0000)]
[MOVED FROM BAD 03/28] Add stdlib include (free, atoi, exit).

Original commit message from CVS:
* examples/app/appsrc_ex.c:
* examples/switch/switcher.c:
* ext/neon/gstneonhttpsrc.c:
* ext/timidity/gstwildmidi.c:
* ext/x264/gstx264enc.c:
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
* sys/dvb/gstdvbsrc.c:
Add stdlib include (free, atoi, exit).

15 years ago[MOVED FROM BAD 02/28] ext/x264/gstx264enc.c (gst_x264_enc_init_encoder): This needs...
Stefan Kost [Tue, 15 May 2007 21:23:53 +0000 (21:23 +0000)]
[MOVED FROM BAD 02/28] ext/x264/gstx264enc.c (gst_x264_enc_init_encoder): This needs a version check.

Original commit message from CVS:
* ext/x264/gstx264enc.c (gst_x264_enc_init_encoder):
This needs a version check.
* gst/bayer/Makefile.am:
Fix the build.

15 years ago[MOVED FROM BAD 01/28] Add libx264-based h264 encoder plugin (#421110). Probably...
Michal Benes [Sun, 25 Mar 2007 13:06:26 +0000 (13:06 +0000)]
[MOVED FROM BAD 01/28] Add libx264-based h264 encoder plugin (#421110). Probably doesn't handle 'odd' widths and heights correctly yet.

Original commit message from CVS:
Patch by: Michal Benes <michal.benes at itonis tv>
Patch by: Josef Zlomek <josef.zlomek at itonis tv>
* configure.ac:
* ext/Makefile.am:
* ext/x264/Makefile.am:
* ext/x264/gstx264enc.c: (gst_x264_enc_me_get_type),
(gst_x264_enc_analyse_get_type),
(gst_x264_enc_timestamp_queue_init),
(gst_x264_enc_timestamp_queue_free),
(gst_x264_enc_timestamp_queue_put),
(gst_x264_enc_timestamp_queue_get), (gst_x264_enc_header_buf),
(gst_x264_enc_set_src_caps), (gst_x264_enc_sink_set_caps),
(gst_x264_enc_base_init), (gst_x264_enc_class_init),
(gst_x264_enc_init), (gst_x264_enc_init_encoder),
(gst_x264_enc_close_encoder), (gst_x264_enc_dispose),
(gst_x264_enc_sink_event), (gst_x264_enc_chain),
(gst_x264_enc_encode_frame), (gst_x264_enc_change_state),
(gst_x264_enc_set_property), (gst_x264_enc_get_property),
(plugin_init):
* ext/x264/gstx264enc.h:
Add libx264-based h264 encoder plugin (#421110). Probably doesn't
handle 'odd' widths and heights correctly yet.

15 years agoasfdemux: nicer metadata extraction of genre tags in some cases
Tim-Philipp Müller [Fri, 5 Jun 2009 00:51:20 +0000 (01:51 +0100)]
asfdemux: nicer metadata extraction of genre tags in some cases

Handle pseudo-strings like "(5)" and map them to the ID3v1 genre
that they presumably stand for.

15 years agoasfdemux: parse WM/Picture tags to extract cover art
Tim-Philipp Müller [Fri, 5 Jun 2009 00:32:07 +0000 (01:32 +0100)]
asfdemux: parse WM/Picture tags to extract cover art

Fixes #583112.

15 years agodocs: fix http links for amr libs in REQUIREMENTS
Tim-Philipp Müller [Sun, 31 May 2009 19:20:30 +0000 (20:20 +0100)]
docs: fix http links for amr libs in REQUIREMENTS

15 years agoasfdemux: fix bogus flow return handling in eos handler
Tim-Philipp Müller [Fri, 29 May 2009 19:07:14 +0000 (20:07 +0100)]
asfdemux: fix bogus flow return handling in eos handler

Don't overwrite the origin flow return by whatever flow we get
when trying to push the remaining internally queued payloads.
We want to do our eos logic, ie. send an EOS event or segment-done
message in any case. Makes things EOS properly when an EOS event
is forced upon the pipeline so that the source returns
FLOW_UNEXPECTED to a pulling asfdemux. Should fix #582056.

15 years agowin32: update config.h
Tim-Philipp Müller [Fri, 29 May 2009 18:52:58 +0000 (19:52 +0100)]
win32: update config.h

15 years agoconfigure: bump core/base requirements to released versions
Tim-Philipp Müller [Fri, 22 May 2009 18:27:35 +0000 (19:27 +0100)]
configure: bump core/base requirements to released versions

15 years agoautogen: move the -Wno-portability for automake into configure.ac
Tim-Philipp Müller [Fri, 22 May 2009 18:26:27 +0000 (19:26 +0100)]
autogen: move the -Wno-portability for automake into configure.ac

15 years agodvdlpcmdec: Add multichannel channel maps, and send some tags
Jan Schmidt [Tue, 26 May 2009 23:16:30 +0000 (00:16 +0100)]
dvdlpcmdec: Add multichannel channel maps, and send some tags

Add a multichannel map to the output caps, and send at least a CODEC and
BITRATE tag. I'm not too sure about the 5.1 and 7.1 channel maps. I have
no samples and can't find info about the channel ordering, but this is
better than nothing.

15 years agoAutomatic update of common submodule
Jan Schmidt [Tue, 26 May 2009 16:19:54 +0000 (17:19 +0100)]
Automatic update of common submodule

From 888e0a2 to c572721

15 years agoAutomatic update of common submodule
Jan Schmidt [Fri, 22 May 2009 09:20:46 +0000 (10:20 +0100)]
Automatic update of common submodule

From 6ab11d1 to 888e0a2

15 years agodvdsubdec: Remove some dead code
Jan Schmidt [Thu, 21 May 2009 14:18:06 +0000 (15:18 +0100)]
dvdsubdec: Remove some dead code

Remove some redundant memset - gobject memory is already initalised to 0.
Remove a commented out line leftover from the previous commit

15 years agodvdsubdec: Support ARGB output
Kapil Agrawal [Thu, 21 May 2009 13:20:22 +0000 (14:20 +0100)]
dvdsubdec: Support ARGB output

Negotiate to and render into ARGB buffers directly if the peer supports it.
Fixes: #580869

15 years agoa52dec: Reconcile code with dtsdec
Jan Schmidt [Mon, 18 May 2009 23:51:49 +0000 (00:51 +0100)]
a52dec: Reconcile code with dtsdec

Perform some cleanups based on the dtsdec code such as using the boilerplate
macro and static pad template functions.

Add some documentation. Don't register a change in flags until we synch on
another frame successfully.

15 years agolamemp3enc: Improve debugging a bit
Sebastian Dröge [Thu, 14 May 2009 10:32:16 +0000 (12:32 +0200)]
lamemp3enc: Improve debugging a bit

15 years agompeg2dec: Revert ranking switch with ffdec_mpeg2video. Fixes #574461
Edward Hervey [Wed, 13 May 2009 17:32:16 +0000 (19:32 +0200)]
mpeg2dec: Revert ranking switch with ffdec_mpeg2video. Fixes #574461

15 years agopo: avoid conflicts of local *.po files with files in git
Tim-Philipp Müller [Wed, 13 May 2009 00:55:16 +0000 (01:55 +0100)]
po: avoid conflicts of local *.po files with files in git

Make it so that filenames and line numbers are only stored in the *.pot file
(which is not in git), but not in the individual *.po files. This information
is hardly useful for translators in our case, and it should avoid the constant
conflicts of local *.po files with the ones in git which are caused by the
source files changing and the line numbers being updated. This commit might
cause one last merge conflict for you, which you can work around with
"git checkout po/*.po" before merging or pulling. After that there should
(hopefully) not be any more local modifications of these files (unless
someone committed additions or changes to translated strings and the
*.po files haven't been updated yet, that is).

15 years agolamemp3enc: add Since tag to gtk-doc chunk
Tim-Philipp Müller [Tue, 12 May 2009 18:22:07 +0000 (19:22 +0100)]
lamemp3enc: add Since tag to gtk-doc chunk

15 years agochecks: fix mpeg2dec unit test again after interlace addition to caps
Tim-Philipp Müller [Wed, 13 May 2009 00:46:00 +0000 (01:46 +0100)]
checks: fix mpeg2dec unit test again after interlace addition to caps

15 years agompeg2dec: work around old mpeg2dec versions
Wim Taymans [Tue, 12 May 2009 18:34:20 +0000 (20:34 +0200)]
mpeg2dec: work around old mpeg2dec versions

The repeat first field flag was introduced in 0.5.0 so conditionally disable its
detection and just assume no rff is used. This fixes the compilation.

Fixes #582375

15 years agompeg2dec: link to gstvideo
Wim Taymans [Tue, 12 May 2009 18:24:02 +0000 (20:24 +0200)]
mpeg2dec: link to gstvideo

Fix compilation by adding the right include directories and linking to the video
library.

15 years agoasfdemux: Downgrade simple statements from WARNING to DEBUG
Edward Hervey [Tue, 12 May 2009 09:57:04 +0000 (11:57 +0200)]
asfdemux: Downgrade simple statements from WARNING to DEBUG

15 years agoasf: Detect more payload extensions.
Edward Hervey [Mon, 11 May 2009 10:37:46 +0000 (12:37 +0200)]
asf: Detect more payload extensions.

These should help fix interlaced/PAR issues with more files.

15 years agompeg2dec: Implement interlaced support.
Edward Hervey [Tue, 12 May 2009 09:44:13 +0000 (11:44 +0200)]
mpeg2dec: Implement interlaced support.

Expand the debugging statements to show more picture information.

15 years agompeg2dec: Lower rank to MARGINAL to make ffdec_mpeg2video the default
Sebastian Dröge [Tue, 12 May 2009 09:19:00 +0000 (11:19 +0200)]
mpeg2dec: Lower rank to MARGINAL to make ffdec_mpeg2video the default

ffdec_mpeg2video is much faster, fixes bug #574461.

15 years agolamemp3enc: Don't write a Xing header
Sebastian Dröge [Sun, 10 May 2009 14:53:07 +0000 (16:53 +0200)]
lamemp3enc: Don't write a Xing header

15 years agoRun libtoolize before aclocal
Marc-Andre Lureau [Sun, 10 May 2009 09:17:25 +0000 (11:17 +0200)]
Run libtoolize before aclocal

This unbreaks the build in some cases. Fixes bug #582021

15 years agompeg2dec: use 64bit safe scaling functions.
Edward Hervey [Sat, 9 May 2009 13:28:18 +0000 (15:28 +0200)]
mpeg2dec: use 64bit safe scaling functions.

Got this to fail when seeking in a 14GB file (the value in bytes is
bigger than 2**32).

15 years agompegaudioparse: remove some pointless g_return_if_fail()s
Tim-Philipp Müller [Sat, 9 May 2009 09:57:34 +0000 (10:57 +0100)]
mpegaudioparse: remove some pointless g_return_if_fail()s

15 years agoSwitch twolame to primary rank
Christian Schaller [Fri, 8 May 2009 13:24:47 +0000 (14:24 +0100)]
Switch twolame to primary rank

15 years agoAdd ranks to mp3 encoders
Christian Schaller [Thu, 7 May 2009 16:59:52 +0000 (17:59 +0100)]
Add ranks to mp3 encoders

15 years agoAdd twolame plugin to spec file
Christian Schaller [Thu, 7 May 2009 16:57:17 +0000 (17:57 +0100)]
Add twolame plugin to spec file

15 years agoasfdemux: use upstream segment and timestamps for some interpolation
Mark Nauwelaerts [Sat, 2 May 2009 16:11:06 +0000 (18:11 +0200)]
asfdemux: use upstream segment and timestamps for some interpolation

This should particularly help in case of upstream live src, e.g. rtspsrc,
and especially so if it has to perform fallback to TCP.

15 years agortpasfdepay: Add support for fragmented packet (L == 0).
Edward Hervey [Thu, 7 May 2009 09:09:59 +0000 (11:09 +0200)]
rtpasfdepay: Add support for fragmented packet (L == 0).

This happens with rtp-over-udp.

15 years agolamemp3enc: Fixup the bitrate only for CBR
Sebastian Dröge [Thu, 7 May 2009 08:10:02 +0000 (10:10 +0200)]
lamemp3enc: Fixup the bitrate only for CBR

Additionally clarify some property descriptions.

15 years agolame: fix format string in debug statement
Alessandro Decina [Wed, 6 May 2009 19:47:17 +0000 (21:47 +0200)]
lame: fix format string in debug statement

15 years agomp3parse: Don't reject valid Xing tables of contents
Jan Schmidt [Wed, 6 May 2009 14:37:44 +0000 (15:37 +0100)]
mp3parse: Don't reject valid Xing tables of contents

Some Xing headers apparently start the TOC at byte 1 instead of 0. Don't
reject them because of it, just subtract the initial offset when reading
the table.

15 years agomp3parse: Allow more bits to change in headers during resynch
Jan Schmidt [Wed, 6 May 2009 14:27:01 +0000 (15:27 +0100)]
mp3parse: Allow more bits to change in headers during resynch

Be more lenient about what we accept as changing bits in a header - basically,
only require that the mp3 sync marker is present, for the mpeg version,
layer and samplerate.

Fixes: #581464

15 years agomad: Add duration of incoming/outgoing buffers in debug statements
Edward Hervey [Wed, 6 May 2009 11:17:35 +0000 (13:17 +0200)]
mad: Add duration of incoming/outgoing buffers in debug statements

15 years agompegaudioparse: Remove useless checks for valid buffer duration.
Edward Hervey [Wed, 6 May 2009 11:15:30 +0000 (13:15 +0200)]
mpegaudioparse: Remove useless checks for valid buffer duration.

The buffer duration is set to a valid value at the very top of
emit_frame(), we therefore don't need to check it later on.

15 years agompegaudioparse: Fix stop condition for outputting buffers.
Edward Hervey [Wed, 6 May 2009 11:13:35 +0000 (13:13 +0200)]
mpegaudioparse: Fix stop condition for outputting buffers.

Some mp3 streams have an offset in timestamps, requiring us to push the
frame *AFTER* segment.stop in order for the decoder to be able to push
all data up to the segment.stop position.

15 years agoasfdemux: 0-base timestamps consistently (whether or not streaming)
Mark Nauwelaerts [Sat, 2 May 2009 14:51:11 +0000 (16:51 +0200)]
asfdemux: 0-base timestamps consistently (whether or not streaming)

This also makes timestamps (more) consistent before and after a possible
seek, and moreover makes for reasonable position reporting in live stream
(whose payload timestamps should not be taken for granted).

15 years agoasfdemux: report initial latency due to internal preroll queue
Mark Nauwelaerts [Sat, 2 May 2009 11:45:22 +0000 (13:45 +0200)]
asfdemux: report initial latency due to internal preroll queue

15 years agoasfdemux: enhance debug statement and refactor some initialization
Mark Nauwelaerts [Sat, 2 May 2009 11:44:48 +0000 (13:44 +0200)]
asfdemux: enhance debug statement and refactor some initialization

15 years agoasfdemux: handle FIXME; activate pads after internal preroll also when streaming
Mark Nauwelaerts [Sat, 2 May 2009 11:44:11 +0000 (13:44 +0200)]
asfdemux: handle FIXME; activate pads after internal preroll also when streaming

15 years agoasfdemux: handle FIXME; normalize preroll
Mark Nauwelaerts [Sat, 2 May 2009 09:12:51 +0000 (11:12 +0200)]
asfdemux: handle FIXME; normalize preroll

15 years agoasfdemux: fixes for streaming mode
Mark Nauwelaerts [Sat, 2 May 2009 14:08:03 +0000 (16:08 +0200)]
asfdemux: fixes for streaming mode

* Improve newsegment handling, e.g. upstream might live in TIME.
* Only send newsegment if we have needed info.
* Avoid reading past end of data section.

15 years agoasfdemux: fixes/enhancements for streaming mode
Mark Nauwelaerts [Fri, 1 May 2009 16:08:15 +0000 (18:08 +0200)]
asfdemux: fixes/enhancements for streaming mode

* Do not rock the boat by reacting to FLUSH_START.
* Try to handle TIME seeking by seeking upstream in BYTES.
* Handle SEEKING query.

15 years agolame: fix compilation with LAME versions < 3.98
Tim-Philipp Müller [Tue, 5 May 2009 15:38:19 +0000 (16:38 +0100)]
lame: fix compilation with LAME versions < 3.98

lame_set_VBR_quality(), which takes a floating point value for the
quality, has been added only in v3.98. Use lame_set_VBR_q(), which
takes quality as an integer, for older LAME versions.

Fixes #581341.

15 years agowin32: update config.h to git
Tim-Philipp Müller [Mon, 4 May 2009 19:39:14 +0000 (20:39 +0100)]
win32: update config.h to git

Until someone ports the new win32 config.h logic from the
other modules to -ugly.

15 years agoUpdate docs
Sebastian Dröge [Mon, 4 May 2009 10:53:06 +0000 (12:53 +0200)]
Update docs

15 years agolamemp3enc: Add a note to the encoding-engine-quality property
Sebastian Dröge [Mon, 4 May 2009 10:51:29 +0000 (12:51 +0200)]
lamemp3enc: Add a note to the encoding-engine-quality property

that says, that this does not affect the bitrate at all.