platform/upstream/gst-plugins-ugly.git
13 years agompeg2dec: post QoS messages when dropping a frame due to QoS
Vincent Penquerc'h [Mon, 5 Sep 2011 10:11:52 +0000 (11:11 +0100)]
mpeg2dec: post QoS messages when dropping a frame due to QoS

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

13 years agoamrnbenc: port to audioencoder
Mark Nauwelaerts [Tue, 27 Sep 2011 15:01:59 +0000 (17:01 +0200)]
amrnbenc: port to audioencoder

13 years agotwolame: Simple fix for GstAudioEncoder API change
Sebastian Dröge [Mon, 26 Sep 2011 14:29:12 +0000 (16:29 +0200)]
twolame: Simple fix for GstAudioEncoder API change

13 years agotwolame: Fix variable 'gstelement_class' set but not used compiler warning
Sebastian Dröge [Mon, 26 Sep 2011 14:28:08 +0000 (16:28 +0200)]
twolame: Fix variable 'gstelement_class' set but not used compiler warning

13 years agolame: Don't get the parent class again, GST_BOILERPLATE does this already
Sebastian Dröge [Mon, 26 Sep 2011 14:08:20 +0000 (16:08 +0200)]
lame: Don't get the parent class again, GST_BOILERPLATE does this already

13 years agolame: Fix variable 'gstelement_class' set but not used compiler warning
Sebastian Dröge [Mon, 26 Sep 2011 14:07:54 +0000 (16:07 +0200)]
lame: Fix variable 'gstelement_class' set but not used compiler warning

13 years agotwolame: improve output framing and timestamping
Mark Nauwelaerts [Mon, 26 Sep 2011 10:07:15 +0000 (12:07 +0200)]
twolame: improve output framing and timestamping

... which simply comes down to requesting one frame of input data at a time,
since the encoder nicely turns this into 1 encoded frame.

13 years agotwolame: port to audioencoder
Mark Nauwelaerts [Mon, 26 Sep 2011 09:56:23 +0000 (11:56 +0200)]
twolame: port to audioencoder

13 years agolame: use some more boilerplate
Mark Nauwelaerts [Fri, 23 Sep 2011 13:32:01 +0000 (15:32 +0200)]
lame: use some more boilerplate

13 years agolame: port to audioencoder
Mark Nauwelaerts [Fri, 23 Sep 2011 13:26:48 +0000 (15:26 +0200)]
lame: port to audioencoder

13 years agolamemp3enc: use some more boilerplate
Mark Nauwelaerts [Fri, 23 Sep 2011 12:33:55 +0000 (14:33 +0200)]
lamemp3enc: use some more boilerplate

13 years agolamemp3enc: really report bitrate rather kbitrate
Mark Nauwelaerts [Mon, 26 Sep 2011 12:44:23 +0000 (14:44 +0200)]
lamemp3enc: really report bitrate rather kbitrate

13 years agolamemp3enc: port to audioencoder
Mark Nauwelaerts [Mon, 26 Sep 2011 12:44:01 +0000 (14:44 +0200)]
lamemp3enc: port to audioencoder

13 years agodvdreadsrc: take into account first sector of the current title
Vincent Penquerc'h [Fri, 16 Sep 2011 14:35:06 +0000 (15:35 +0100)]
dvdreadsrc: take into account first sector of the current title

This fixes seeking on titles which do not start on a new file.

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

13 years agodvdreadsrc: fix sector seeking
Vincent Penquerc'h [Fri, 16 Sep 2011 14:03:54 +0000 (15:03 +0100)]
dvdreadsrc: fix sector seeking

It was overly complicated, and did not take into account the offset
needed for titles which do not start on a new file.

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

13 years agodvdreadsrc: fix sector search for packed titles
Vincent Penquerc'h [Fri, 16 Sep 2011 12:42:53 +0000 (13:42 +0100)]
dvdreadsrc: fix sector search for packed titles

Some DVD titles are packed in a single set, and we need to use
the correct table to map times to sectors.

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

13 years agomad: remove id3tag dependency used by in practice unreachable legacy code
Tim-Philipp Müller [Mon, 15 Aug 2011 15:23:04 +0000 (16:23 +0100)]
mad: remove id3tag dependency used by in practice unreachable legacy code

The mad mp3 decoder element shouldn't parse tags at all really, but we
have so far kept this code around for backwards-compatibility reasons
for people building manual pipelines for some reason. However, as it
turns out that code has never actually worked in 0.10 in practice,
since it only gets executed if mad_frame_decode() returns LOSTSYNC,
which doesn't actually seem to happen any more though because of the
preceding mad_header_decode(), which will discover and report the
sync loss if it runs into a tag and make mad_frame_decode() try to
resync right away.

Discovered this while trying to make it use gst_tag_list_from_id3v2_tag().

13 years agoasfpacket: skip empty payload packets
Mark Nauwelaerts [Thu, 8 Sep 2011 15:01:27 +0000 (17:01 +0200)]
asfpacket: skip empty payload packets

... which also avoids assertion failures and possible segfaults later on
when possibly trying to join 2 empty buffers.

13 years agormdemux: delay announcing container tags until we have pads
Tim-Philipp Müller [Thu, 8 Sep 2011 13:33:00 +0000 (14:33 +0100)]
rmdemux: delay announcing container tags until we have pads

Fixes tags when transcoding.

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

13 years agoamrnbenc: Use complete raw audio caps in the test
Sebastian Dröge [Wed, 7 Sep 2011 12:36:46 +0000 (14:36 +0200)]
amrnbenc: Use complete raw audio caps in the test

13 years agodocs: cleanup makefiles
Stefan Sauer [Wed, 7 Sep 2011 12:25:41 +0000 (14:25 +0200)]
docs: cleanup makefiles

Remove commented out parts that we don't need. Remove "the wingo addition" - no
so useful after all. Narrow down file-globs for plugin docs.

13 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 19:25:13 +0000 (21:25 +0200)]
Automatic update of common submodule

From a39eb83 to 11f0cd5

13 years agoAutomatic update of common submodule
Stefan Sauer [Tue, 6 Sep 2011 13:40:55 +0000 (15:40 +0200)]
Automatic update of common submodule

From 605cd9a to a39eb83

13 years agompeg2dec: fix spurious failure to decode some files
Vincent Penquerc'h [Mon, 22 Aug 2011 16:49:14 +0000 (17:49 +0100)]
mpeg2dec: fix spurious failure to decode some files

Parsing can return with an 'invalid' state, but this is not
actually fatal. For one, the mpeg2dec command line tool that
comes with the libmpeg2 library blithely ignores this condition
and merrily goes on. So we do this same, logging the error,
and going on with parsing. This makes something work that did
not use to work, and brings happiness to the world.

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

13 years agox264enc: Properly set the stream format in setcaps
Thiago Santos [Sat, 30 Jul 2011 21:47:44 +0000 (18:47 -0300)]
x264enc: Properly set the stream format in setcaps

Do not forget to set the selected format to the options string
when getting it from caps

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

13 years agox264enc: fix the build for older x264enc
Stefan Sauer [Tue, 19 Jul 2011 13:06:49 +0000 (15:06 +0200)]
x264enc: fix the build for older x264enc

b_fake_interlaced was introduced in x264 commit 1b48874d06 = X264_BUILD 96.

13 years agox264enc: Read stream-format from the right place
Olivier Crête [Tue, 19 Jul 2011 00:41:20 +0000 (20:41 -0400)]
x264enc: Read stream-format from the right place

Read the stream-format from "stream-format" and not from profile, also rename
the "bytestream" variable to "stream_format" so it's easier to understand.

13 years agox264enc: Select stream-format based on caps
Thiago Santos [Tue, 14 Jun 2011 02:24:27 +0000 (23:24 -0300)]
x264enc: Select stream-format based on caps

Makes x264 select its stream-format based on what's available
on caps, the user selected option will be chosen as a fallback
when both options are available.

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

13 years agox264: Allow renegotiation but prefer current caps
Olivier Crête [Mon, 4 Jul 2011 22:03:49 +0000 (18:03 -0400)]
x264: Allow renegotiation but prefer current caps

13 years agotests: Test x264enc profiles from the caps
Olivier Crête [Fri, 10 Jun 2011 00:20:27 +0000 (20:20 -0400)]
tests: Test x264enc profiles from the caps

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

13 years agox264: Use profile and level from caps
Olivier Crête [Mon, 7 Mar 2011 22:58:34 +0000 (17:58 -0500)]
x264: Use profile and level from caps

Enforces the profile and level from the downstream caps, also
sets them on the fixated caps

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

13 years agox264enc: fix subme property annotation - subme maximum is 10, not 6.
Brian Gitonga Marete [Sat, 25 Jun 2011 03:29:50 +0000 (06:29 +0300)]
x264enc: fix subme property annotation - subme maximum is 10, not 6.

Although the element accepts subme values > 6, the annotation which is
visible through gst-inspect (for example) erroneously indicates 6 as the
maximum. Fix this by indicating 10 (which is the x264 max) as the maximum.

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

13 years agoAutomatic update of common submodule
David Schleef [Thu, 23 Jun 2011 18:28:58 +0000 (11:28 -0700)]
Automatic update of common submodule

From 69b981f to 605cd9a

13 years agortpasfdepay: fix fragmented packet handling and packet padding
Mark Nauwelaerts [Mon, 6 Jun 2011 10:41:03 +0000 (12:41 +0200)]
rtpasfdepay: fix fragmented packet handling and packet padding

Also remove a bogus assert.

13 years agosynaesthesia: fix wrong debug log string (copy'n'paste)
Stefan Kost [Fri, 3 Jun 2011 08:35:55 +0000 (11:35 +0300)]
synaesthesia: fix wrong debug log string (copy'n'paste)

13 years agormdemux: target is unsigned and can't be < 0
Stefan Kost [Fri, 20 May 2011 10:32:31 +0000 (13:32 +0300)]
rmdemux: target is unsigned and can't be < 0

13 years agomad: use signed when caluculating the delta
Stefan Kost [Fri, 20 May 2011 10:31:14 +0000 (13:31 +0300)]
mad: use signed when caluculating the delta

Avoids a <0 check for an unsigned variable.

13 years agodocs: remove obsolete commented out part
Stefan Kost [Thu, 19 May 2011 20:55:41 +0000 (23:55 +0300)]
docs: remove obsolete commented out part

We don't have this in the other modules and its not needed.

13 years agodocs: update plugin introspection data
Stefan Kost [Thu, 19 May 2011 20:38:23 +0000 (23:38 +0300)]
docs: update plugin introspection data

Now more files are merged and produced in a canonical fashion, which hopefully
creates less or no delta in the future.

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 19 May 2011 19:58:28 +0000 (22:58 +0300)]
Automatic update of common submodule

From 9e5bbd5 to 69b981f

13 years agolamemp3enc: Post CODEC and BITRATE tags
Sebastian Dröge [Wed, 18 May 2011 12:49:17 +0000 (14:49 +0200)]
lamemp3enc: Post CODEC and BITRATE tags

Also filter any CODEC/AUDIO_CODEC tags from incoming
tag events.

Fixes bug #391543.

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 13:10:55 +0000 (16:10 +0300)]
Automatic update of common submodule

From fd35073 to 9e5bbd5

13 years agoAutomatic update of common submodule
Stefan Kost [Wed, 18 May 2011 09:25:01 +0000 (12:25 +0300)]
Automatic update of common submodule

From 46dfcea to fd35073

13 years agortpasfdepay: simplify and refactor packet parsing
Mark Nauwelaerts [Wed, 27 Apr 2011 13:20:20 +0000 (15:20 +0200)]
rtpasfdepay: simplify and refactor packet parsing

Specifically, refactor buffer padding and consider marker bit for fragment
assembling.

13 years agortpasfdepay: avoid re-sending header
Mark Nauwelaerts [Wed, 27 Apr 2011 13:14:00 +0000 (15:14 +0200)]
rtpasfdepay: avoid re-sending header

... e.g. following a seek, which otherwise confuses downstream demuxer
expecting only a flow of data packets at this time.

13 years agortpasfdepay: remove unused field
Mark Nauwelaerts [Wed, 27 Apr 2011 13:12:22 +0000 (15:12 +0200)]
rtpasfdepay: remove unused field

13 years agomad: Post bitrate tag whenever the bitrate changes
Sebastian Dröge [Fri, 29 Apr 2011 07:19:19 +0000 (09:19 +0200)]
mad: Post bitrate tag whenever the bitrate changes

Also send the layer/mode/emphasis/bitrate tags as an event too.

13 years agowin32: define GST_PACKAGE_RELEASE_DATETIME in win32 config.h as well
Tim-Philipp Müller [Sat, 14 May 2011 09:09:16 +0000 (10:09 +0100)]
win32: define GST_PACKAGE_RELEASE_DATETIME in win32 config.h as well

13 years agoBack to development
Tim-Philipp Müller [Sat, 14 May 2011 09:06:31 +0000 (10:06 +0100)]
Back to development

13 years agoRelease 0.10.18 RELEASE-0.10.18
Tim-Philipp Müller [Tue, 10 May 2011 09:26:50 +0000 (10:26 +0100)]
Release 0.10.18

Highlights:

  - x264enc: allow changing bitrate and quantizers dynamically at runtime
  - x264enc: proxy downstream caps restrictions upstream via get_caps()
  - lamemp3enc: proxy downstream rate/channels restrictions upstream via get_caps()
  - mad: allow build without libid3tag (which isn't really needed anyway)
  - many other fixes and improvements

13 years agox264enc: Copy the template caps, it's not allowed to increase the refcount of const...
Sebastian Dröge [Wed, 4 May 2011 10:39:17 +0000 (12:39 +0200)]
x264enc: Copy the template caps, it's not allowed to increase the refcount of const caps

13 years agox264enc: do not leak peer pad reference
Mark Nauwelaerts [Wed, 4 May 2011 10:30:39 +0000 (12:30 +0200)]
x264enc: do not leak peer pad reference

13 years agox264enc: No need to copy, reffing is enough
Sjoerd Simons [Tue, 3 May 2011 14:27:43 +0000 (15:27 +0100)]
x264enc: No need to copy, reffing is enough

13 years agox264enc: get_caps function should return a copy of the caps
Sjoerd Simons [Tue, 3 May 2011 13:57:16 +0000 (14:57 +0100)]
x264enc: get_caps function should return a copy of the caps

13 years ago0.10.17.4 pre-release
Tim-Philipp Müller [Sat, 30 Apr 2011 19:07:44 +0000 (20:07 +0100)]
0.10.17.4 pre-release

13 years ago0.10.17.3 pre-release
Tim-Philipp Müller [Wed, 27 Apr 2011 11:48:31 +0000 (12:48 +0100)]
0.10.17.3 pre-release

13 years agoAutomatic update of common submodule
Tim-Philipp Müller [Sun, 24 Apr 2011 13:04:39 +0000 (14:04 +0100)]
Automatic update of common submodule

From c3cafe1 to 46dfcea

13 years agotests: add suppression for lame unit test
Tim-Philipp Müller [Tue, 19 Apr 2011 16:26:42 +0000 (17:26 +0100)]
tests: add suppression for lame unit test

13 years agotests: add generic index-setting test
Tim-Philipp Müller [Tue, 19 Apr 2011 13:41:48 +0000 (14:41 +0100)]
tests: add generic index-setting test

13 years agompeg2dec: don't deadlock when setting an index
Tim-Philipp Müller [Tue, 19 Apr 2011 14:24:03 +0000 (15:24 +0100)]
mpeg2dec: don't deadlock when setting an index

13 years ago0.10.17.2 pre-release
Tim-Philipp Müller [Sat, 16 Apr 2011 22:26:27 +0000 (23:26 +0100)]
0.10.17.2 pre-release

13 years agorademux: fix two 'variable may be used uninitialized' warnings caused by -DG_DISABLE_...
Tim-Philipp Müller [Sat, 16 Apr 2011 22:23:56 +0000 (23:23 +0100)]
rademux: fix two 'variable may be used uninitialized' warnings caused by -DG_DISABLE_ASSERT

13 years agompegstream: fix unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Thu, 14 Apr 2011 14:04:19 +0000 (15:04 +0100)]
mpegstream: fix unused-but-set-variable warnings with gcc 4.6

13 years agodvdread, sidplay, x264enc: fix unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Thu, 14 Apr 2011 14:03:56 +0000 (15:03 +0100)]
dvdread, sidplay, x264enc: fix unused-but-set-variable warnings with gcc 4.6

13 years agoasfdemux: fix unused-but-set-variable warnings with gcc 4.6
Tim-Philipp Müller [Thu, 14 Apr 2011 14:03:33 +0000 (15:03 +0100)]
asfdemux: fix unused-but-set-variable warnings with gcc 4.6

13 years agox264enc: Implement getcaps function
Sebastian Dröge [Wed, 13 Apr 2011 18:31:53 +0000 (20:31 +0200)]
x264enc: Implement getcaps function

This allows to set width/height/etc restrictions downstream.

13 years agoandroid: make it ready for androgenizer
Thibault Saunier [Sun, 10 Apr 2011 22:24:22 +0000 (18:24 -0400)]
android: make it ready for androgenizer

To build gstreamer for android we are now using androgenizer which
generates the needed Android.mk files.

Androgenizer can be found here: http://git.collabora.co.uk/?p=user/derek/androgenizer.git

13 years agoandroid: remove the android/ folder
Thibault Saunier [Sun, 10 Apr 2011 22:34:11 +0000 (18:34 -0400)]
android: remove the android/ folder

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 4 Apr 2011 12:57:58 +0000 (15:57 +0300)]
Automatic update of common submodule

From 1ccbe09 to c3cafe1

13 years agox264enc: Allow changing the bitrate and quantitizers dynamically
Olivier Crête [Wed, 22 Sep 2010 00:14:04 +0000 (20:14 -0400)]
x264enc: Allow changing the bitrate and quantitizers dynamically

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

13 years agox264enc: Set max bitrate in quality mode
Olivier Crête [Tue, 21 Sep 2010 23:33:10 +0000 (19:33 -0400)]
x264enc: Set max bitrate in quality mode

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

13 years agox264enc: Make it clear that constant quantizer is for debugging only
Olivier Crête [Tue, 21 Sep 2010 23:20:29 +0000 (19:20 -0400)]
x264enc: Make it clear that constant quantizer is for debugging only

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

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 21:34:31 +0000 (22:34 +0100)]
Automatic update of common submodule

From 193b717 to 1ccbe09

13 years agoAutomatic update of common submodule
Stefan Kost [Fri, 25 Mar 2011 12:57:00 +0000 (14:57 +0200)]
Automatic update of common submodule

From b77e2bf to 193b717

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:33:04 +0000 (09:33 +0100)]
Automatic update of common submodule

From d8814b6 to b77e2bf

13 years agoAutomatic update of common submodule
Sebastian Dröge [Fri, 25 Mar 2011 08:09:29 +0000 (09:09 +0100)]
Automatic update of common submodule

From 6aaa286 to d8814b6

13 years agoAutomatic update of common submodule
Stefan Kost [Thu, 24 Mar 2011 16:50:17 +0000 (18:50 +0200)]
Automatic update of common submodule

From 6aec6b9 to 6aaa286

13 years agoconfigure.ac: redundant use of AC_MSG_RESULT()
Luis de Bethencourt [Tue, 22 Mar 2011 11:59:33 +0000 (12:59 +0100)]
configure.ac: redundant use of AC_MSG_RESULT()

cleaned the redundant use of AC_MSG_RESULT() in configure.ac

13 years agoautogen: wingo signed comment
Luis de Bethencourt [Fri, 18 Mar 2011 18:34:57 +0000 (19:34 +0100)]
autogen: wingo signed comment

13 years agodvdsubdec: Rearrange buffer allocation and pushing code a bit
Sebastian Dröge [Tue, 15 Mar 2011 10:02:42 +0000 (11:02 +0100)]
dvdsubdec: Rearrange buffer allocation and pushing code a bit

This makes the code easier to read, doesn't store every buffer
in the instance until the next buffer is to be drawn and
fixes an unitialized variable compiler warning.

13 years agodvdsubdec: Output only a single buffer per subpicture and set the correct duration
Brendan Le Foll [Tue, 15 Mar 2011 09:59:23 +0000 (10:59 +0100)]
dvdsubdec: Output only a single buffer per subpicture and set the correct duration

Fixes bug #619136.

13 years agodvdsubdec: Implement clipping if the video size is smaller than the subpicture size
Brendan Le Foll [Mon, 14 Mar 2011 17:39:35 +0000 (18:39 +0100)]
dvdsubdec: Implement clipping if the video size is smaller than the subpicture size

Fixes bug #644704.

13 years agomad: build the mad plugin even if libid3tag is not available
Tim-Philipp Müller [Fri, 11 Mar 2011 17:45:37 +0000 (17:45 +0000)]
mad: build the mad plugin even if libid3tag is not available

ID3 tags are usually handled by id3demux, and should be handled
by id3demux. Tag handling in mad based on libid3tag is very basic
and mostly unnecessary really, so just build this plugin without
ID3 tag support if libid3tag is not available.

13 years agodvddemux: small code cleanup
Stefan Kost [Wed, 2 Mar 2011 11:12:11 +0000 (13:12 +0200)]
dvddemux: small code cleanup

Don't duplicate the 'if' check. Makes the 2nd condition easier to read also
and avoid empty 'if' when logging is disabled.

13 years agoconfigure.ac: export plugin description more platform independent
Mark Nauwelaerts [Mon, 28 Feb 2011 18:27:21 +0000 (19:27 +0100)]
configure.ac: export plugin description more platform independent

Fixes #642504.

13 years agoAutomatic update of common submodule
Mark Nauwelaerts [Mon, 28 Feb 2011 17:33:34 +0000 (18:33 +0100)]
Automatic update of common submodule

From 1de7f6a to 6aec6b9

13 years agompeg2dec: do not fail fatally when unlinked
Mark Nauwelaerts [Mon, 21 Feb 2011 12:13:11 +0000 (13:13 +0100)]
mpeg2dec: do not fail fatally when unlinked

... as _NOT_LINKED was neither tested as fatal before nor complained about.

13 years agoindex: remove conditional index support
Stefan Kost [Mon, 21 Feb 2011 09:05:31 +0000 (11:05 +0200)]
index: remove conditional index support

Index support cannot be disabled since commit
4bfb1fe70c6f0d5e29c17a8eeffb02f7fd083f11
in core, which removed the configure flags to disable index.

13 years agoformatting: trim trailing whitespace
Stefan Kost [Thu, 17 Feb 2011 16:06:51 +0000 (18:06 +0200)]
formatting: trim trailing whitespace

13 years agoindex: use delta frame flags instead of 0 or none
Stefan Kost [Thu, 17 Feb 2011 16:05:58 +0000 (18:05 +0200)]
index: use delta frame flags instead of 0 or none

13 years agox264enc: Don't register flags with a value of 0
Sjoerd Simons [Mon, 14 Feb 2011 17:52:09 +0000 (17:52 +0000)]
x264enc: Don't register flags with a value of 0

Flags with a value of 0 aren't meaningful and will cause
g_value_transform to go into an endless loop when trying to
convert the flags to a string

13 years agoAutomatic update of common submodule
Stefan Kost [Mon, 14 Feb 2011 10:54:10 +0000 (12:54 +0200)]
Automatic update of common submodule

From f94d739 to 1de7f6a

13 years agoamrwbdec: avoid stalling on invalid frame
Mark Nauwelaerts [Mon, 7 Feb 2011 18:58:45 +0000 (19:58 +0100)]
amrwbdec: avoid stalling on invalid frame

Skip 1 byte indicating invalid frame type index rather than stalling
on it indefinitely until EOS.

Fixes #639715.

13 years agotests: add unit test for lamemp3enc negotiation issue
Tim-Philipp Müller [Thu, 3 Feb 2011 18:25:00 +0000 (18:25 +0000)]
tests: add unit test for lamemp3enc negotiation issue

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

13 years agolamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrict...
Tim-Philipp Müller [Thu, 3 Feb 2011 18:18:35 +0000 (18:18 +0000)]
lamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrictions from downstream

The element downstream of mp3enc might only accept certain sample rates or channels,
make sure we relay any restrictions that do exist to upstream when it does a
get_caps() on the sink pad. That way upstream elements like audioresample or
audioconvert can pick a sample rate / channel configuration that will be accepted,
instead of just negotiating to the highest, which might then be rejected.

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

13 years agoasfpacket: Avoid using broken duration extension
Edward Hervey [Sun, 30 Jan 2011 15:17:19 +0000 (16:17 +0100)]
asfpacket: Avoid using broken duration extension

Quite a few (broken?) files have a packet duration of 1ms, which is
most definitely wrong for either audio or video packets.

We therefore avoid using that value and instead use other metrics to
determine the buffer duration (like using the extended stream properties
average frame duration if present and valid).

13 years agowin32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink
Tim-Philipp Müller [Thu, 27 Jan 2011 15:33:40 +0000 (15:33 +0000)]
win32: fix DEFAULT_AUDIOSINK, should be direct*sound*sink

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

13 years agoxingmux: Use FALSE instead of 0 as return value for a function returning gboolean
Yang Xichuan [Wed, 12 Jan 2011 08:48:57 +0000 (16:48 +0800)]
xingmux: Use FALSE instead of 0 as return value for a function returning gboolean

Fixes bug #639291.

13 years agompegstream: increase allowable gap between streams
Vincent Penquerc'h [Thu, 6 Jan 2011 18:29:06 +0000 (18:29 +0000)]
mpegstream: increase allowable gap between streams

The new delay is three times as much as the old one, and just happens
to let me properly decode my "Princess Mononoke" DVD, on which dvdreadsrc
was chocking before at 5:11.
While there, merge the constants used in two places into a define.

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

13 years agox264enc: make tag event writable before modifying tag list in place
Miguel Angel Cabrera Moya [Sat, 22 Jan 2011 16:31:40 +0000 (17:31 +0100)]
x264enc: make tag event writable before modifying tag list in place

To modify an event tag is necessary to be sure that x264enc
has its own copy.

Also fix indentation.

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