platform/upstream/gstreamer.git
15 years agoaudiosink: improve debug message
Wim Taymans [Thu, 21 May 2009 08:48:49 +0000 (10:48 +0200)]
audiosink: improve debug message

15 years agogstid3tag: Don't extract a track number unless present.
Michael Smith [Wed, 20 May 2009 01:10:55 +0000 (18:10 -0700)]
gstid3tag: Don't extract a track number unless present.

In ID3v1, a track number is present only if byte 125 is null AND
byte 126 is non-null. If the track number is not present, don't add
a track number tag with value 0.

15 years agovideoutils: remove adapter methods
Wim Taymans [Tue, 19 May 2009 22:48:40 +0000 (00:48 +0200)]
videoutils: remove adapter methods

Remove adapter methods now that they are in core.

15 years agodefs: add new symbols
Wim Taymans [Tue, 19 May 2009 22:42:29 +0000 (00:42 +0200)]
defs: add new symbols

15 years agoautogen: pass -Wno-portability to automake to suppress warnings
Tim-Philipp Müller [Tue, 19 May 2009 16:47:34 +0000 (17:47 +0100)]
autogen: pass -Wno-portability to automake to suppress warnings

GNU make is needed.

15 years agogitignore: remove bogus *.sgml wildcard - these files are tracked in git
Tim-Philipp Müller [Tue, 19 May 2009 01:28:20 +0000 (02:28 +0100)]
gitignore: remove bogus *.sgml wildcard - these files are tracked in git

15 years agotcpclientsrc: this is not a live source
Wim Taymans [Tue, 19 May 2009 16:41:58 +0000 (18:41 +0200)]
tcpclientsrc: this is not a live source

Don't mark us as a live source because we are not.

15 years agoadder: only send flush_stop when seek failed
Stefan Kost [Tue, 19 May 2009 15:41:02 +0000 (18:41 +0300)]
adder: only send flush_stop when seek failed

This is still not the ultimate fix. Added some comment to explain the troubles.

15 years agoaudiosink: return the return value of wait_preroll
Wim Taymans [Tue, 19 May 2009 15:17:37 +0000 (17:17 +0200)]
audiosink: return the return value of wait_preroll

Return the value that _wait_preroll() returned instead of always WRONG_STATE.

15 years agoadder: send flush_stop to match flush_start
Stefan Kost [Tue, 19 May 2009 13:45:56 +0000 (16:45 +0300)]
adder: send flush_stop to match flush_start

Adder was relying that something else sends a flush stop. When using adder with
a livesource it was not getting a flush_stop and thus all pads downstream where
keept flushing. Mark a pending flush_stop and send it when we are working on
the new segment back in the streaming thread.

15 years agoseek: ui improvements
Stefan Kost [Tue, 19 May 2009 13:02:44 +0000 (16:02 +0300)]
seek: ui improvements

Repaint the window black on expose, as this looks nicer when resizing or using
the expander. Also show time after slider, as this saves a whole line (nice on
small displays).

15 years agodecodebin: use iterators instead of list
Stefan Kost [Wed, 29 Apr 2009 15:36:17 +0000 (18:36 +0300)]
decodebin: use iterators instead of list

The list api is deprecated. Use threadsafe iterators instead.

15 years agouridecodebin: configure caps on decodebin2
Wim Taymans [Tue, 19 May 2009 13:35:54 +0000 (15:35 +0200)]
uridecodebin: configure caps on decodebin2

Implement the caps property by setting the configured caps on new decodebin2
objects.

Fixes #582749

15 years agodecodebin2: avoid some _caps_ref in some cases
Wim Taymans [Tue, 19 May 2009 13:34:38 +0000 (15:34 +0200)]
decodebin2: avoid some _caps_ref in some cases

Only mess with the caps refcount when we configure different caps.

15 years agouridecodebin: fix potential caps leak
Wim Taymans [Tue, 19 May 2009 13:27:12 +0000 (15:27 +0200)]
uridecodebin: fix potential caps leak

Free the user-configured caps in finalize.

15 years agouridecodebin: add queue after cdda://
Wim Taymans [Tue, 19 May 2009 13:20:27 +0000 (15:20 +0200)]
uridecodebin: add queue after cdda://

Add a queue2 after the raw output pads of certain sources such as those for uris
like cdda://

No tuning of the queue is done yet as the defaults seem to work fine for me.

Fixes #582528

15 years agooggdemux: don't loop when at EOS
Wim Taymans [Tue, 19 May 2009 10:45:59 +0000 (12:45 +0200)]
oggdemux: don't loop when at EOS

When we try to read the last page, don't try to read past the upper boundary, as
this might cause endless loops.

See #582942

15 years agoaudioresample: Don't drain remaining buffers after a flush.
Edward Hervey [Tue, 19 May 2009 09:20:19 +0000 (11:20 +0200)]
audioresample: Don't drain remaining buffers after a flush.

If we were resetted (due to a flush), we can not drain the remaining
buffers since they would be pushed before a valid new newsegment event.

15 years agotheoradec: for 4:2:2, use Y42B (planar) rather than a packed format.
Michael Smith [Tue, 19 May 2009 05:29:07 +0000 (22:29 -0700)]
theoradec: for 4:2:2, use Y42B (planar) rather than a packed format.

15 years agoadder: add more logging and return value checking
Stefan Kost [Mon, 18 May 2009 22:13:34 +0000 (01:13 +0300)]
adder: add more logging and return value checking

15 years agoadder: handle the return value from iterator_fold
Stefan Kost [Mon, 18 May 2009 22:11:45 +0000 (01:11 +0300)]
adder: handle the return value from iterator_fold

15 years agoadder: use the pad in logging as objects
Stefan Kost [Mon, 18 May 2009 22:03:44 +0000 (01:03 +0300)]
adder: use the pad in logging as objects

Helps to differenciate between source and sinks pads.

15 years agoseek: use parser for mp3 and rename variable
Stefan Kost [Tue, 21 Apr 2009 19:54:19 +0000 (22:54 +0300)]
seek: use parser for mp3 and rename variable

15 years agoseek: add playbin2 options in expander
Wim Taymans [Mon, 18 May 2009 09:08:56 +0000 (11:08 +0200)]
seek: add playbin2 options in expander

Add the playbin2 stream selection options inside an expander to preserve some
space on screen.

15 years agovideotestsrc: Add support for v210 and v216 formats
David Schleef [Tue, 10 Feb 2009 23:29:10 +0000 (15:29 -0800)]
videotestsrc: Add support for v210 and v216 formats

15 years agovideo: remove // comments
David Schleef [Fri, 15 May 2009 23:21:15 +0000 (16:21 -0700)]
video: remove // comments

15 years agovideo: Add Y444, v210, v216 formats
David Schleef [Fri, 15 May 2009 23:18:18 +0000 (16:18 -0700)]
video: Add Y444, v210, v216 formats

15 years agoschro: Move schro plugin from Schroedinger
David Schleef [Fri, 15 May 2009 23:12:37 +0000 (16:12 -0700)]
schro: Move schro plugin from Schroedinger

Previous history is in Schroedinger.  Depends on, and is an example
of using, GstBaseVideo* base classes.

Code was reindented, and an #ifdef HAVE_ENCODER removed.

15 years agovideo: Copy BaseVideo classes from Schroedinger
David Schleef [Fri, 15 May 2009 17:23:08 +0000 (10:23 -0700)]
video: Copy BaseVideo classes from Schroedinger

15 years agomultifdsink: add num-fds property
Arnout Vandecappelle [Fri, 15 May 2009 21:05:45 +0000 (23:05 +0200)]
multifdsink: add num-fds property

multifdsink::num-fds

15 years agopbutils: add descriptions for 3GP, JPEG 2000 and Motion JPEG 2000
Tim-Philipp Müller [Fri, 15 May 2009 19:36:29 +0000 (20:36 +0100)]
pbutils: add descriptions for 3GP, JPEG 2000 and Motion JPEG 2000

15 years agovorbisenc: Implement Preset interface
Sebastian Dröge [Thu, 14 May 2009 09:44:27 +0000 (11:44 +0200)]
vorbisenc: Implement Preset interface

15 years agotheoraenc: Implement Preset interface
Sebastian Dröge [Thu, 14 May 2009 09:43:07 +0000 (11:43 +0200)]
theoraenc: Implement Preset interface

15 years agooggmux: Implement Preset interface
Sebastian Dröge [Thu, 14 May 2009 09:41:13 +0000 (11:41 +0200)]
oggmux: Implement Preset interface

15 years agoplaybin2: Fix cdda:// playback
Jan Schmidt [Thu, 14 May 2009 20:37:22 +0000 (21:37 +0100)]
playbin2: Fix cdda:// playback

Don't send async-start when the playsink has already been configured
before changing state.

15 years agoconfigure: require core CVS for gst_adapter_prev_timestamp()
Tim-Philipp Müller [Thu, 14 May 2009 00:31:48 +0000 (01:31 +0100)]
configure: require core CVS for gst_adapter_prev_timestamp()

which is used in the libvisual plugin.

15 years agoAUTHORS: fix my email
Wim Taymans [Wed, 22 Apr 2009 16:34:59 +0000 (18:34 +0200)]
AUTHORS: fix my email

15 years agoaudioclock: make our internal time monotonic
Wim Taymans [Wed, 22 Apr 2009 16:35:40 +0000 (18:35 +0200)]
audioclock: make our internal time monotonic

Make the internal time increase monotonically.

15 years agovisual: remove next_ts variable
Wim Taymans [Wed, 13 May 2009 17:27:54 +0000 (19:27 +0200)]
visual: remove next_ts variable

We can remove the next_ts variable as we don't use it anymore.

15 years agovisual: use new adapter timestamp code
Wim Taymans [Wed, 13 May 2009 17:24:15 +0000 (19:24 +0200)]
visual: use new adapter timestamp code

Use the new adapter timestamp tracking code to make things easier and produce
vastly better output timestamps.

15 years agopo: avoid conflicts of local *.po files with files in git
Tim-Philipp Müller [Wed, 13 May 2009 00:35:07 +0000 (01:35 +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 agotests: fix audioresample unit test on big endian architectures
Tim-Philipp Müller [Tue, 12 May 2009 22:51:08 +0000 (23:51 +0100)]
tests: fix audioresample unit test on big endian architectures

Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.

15 years agoaudiotestsrc: fix broken enum nick - it should have a hyphen
Tim-Philipp Müller [Tue, 12 May 2009 16:18:37 +0000 (17:18 +0100)]
audiotestsrc: fix broken enum nick - it should have a hyphen

The enum nick should be 'sine-table', not 'sine table'. Technically this is
an API/ABI change I guess, but anyone who was using this and didn't report
it deserves this.

15 years agoaudiotestsrc: seek to the requested byte offset, not the expected byte offset
Tim-Philipp Müller [Fri, 1 May 2009 00:04:48 +0000 (01:04 +0100)]
audiotestsrc: seek to the requested byte offset, not the expected byte offset

15 years agoaudiotestsrc: support more than just one channel
Tim-Philipp Müller [Fri, 1 May 2009 00:03:06 +0000 (01:03 +0100)]
audiotestsrc: support more than just one channel

15 years agopropertyprobe: Fix typo in the docs
Sebastian Dröge [Tue, 12 May 2009 13:52:41 +0000 (15:52 +0200)]
propertyprobe: Fix typo in the docs

15 years agoAdd ranks to the Oggmuxer, Vorbis encoder and Theora encoder
Christian Schaller [Tue, 12 May 2009 11:17:55 +0000 (12:17 +0100)]
Add ranks to the Oggmuxer, Vorbis encoder and Theora encoder

15 years agovideorate: handle invalid timestamps better
Wim Taymans [Thu, 30 Apr 2009 14:37:38 +0000 (16:37 +0200)]
videorate: handle invalid timestamps better

Handle buffers with -1 timestamps better by keeping track of the en time of the
previous buffer and assuming the -1 timestamp buffer goes right after the
previous one.

when we have two buffers that are equally good, output the oldest buffer once to
minimize latency.

don't try to calculate latency when the input framerate is unknown.

15 years agooggmux: small debug statement in DISCONT
Wim Taymans [Tue, 28 Apr 2009 09:37:14 +0000 (11:37 +0200)]
oggmux: small debug statement in DISCONT

15 years agooggdemux: fix abuse of ogg API, handle broken oggs
Wim Taymans [Tue, 28 Apr 2009 09:24:19 +0000 (11:24 +0200)]
oggdemux: fix abuse of ogg API, handle broken oggs

When we feed the ogg sync layer, we need to feed it contiguous data even if the
sync layer did not consume all of it yet. This makes sure that it always finds
the next page even for more corrupted files. Use a different read_offset for
this purpose. since we now keep track of the sync layer, we don't have to reset
after finding a start of a page.

Add some more debug info for the error paths.

Only reset the sync layer when we perform a seek operation.

Avoid failure when the next chain has no bos pages but instead simply ignore it.

when we receive unknown page serial numbers mid stream, don't fail but post a
warning and hope that we get back on track later.

Fixes #579642

15 years agodecodebin2: make subpictures a raw output format
Wim Taymans [Thu, 30 Apr 2009 14:41:51 +0000 (16:41 +0200)]
decodebin2: make subpictures a raw output format

Subpictures are a raw format, we want those pads exposed so that playbin2 can do
the subpicture mixing.

15 years agortpdepay: add some more comments
Wim Taymans [Mon, 27 Apr 2009 08:15:44 +0000 (10:15 +0200)]
rtpdepay: add some more comments

15 years agoaudioclock: make sure values are ever increasing
Wim Taymans [Fri, 17 Apr 2009 08:54:31 +0000 (10:54 +0200)]
audioclock: make sure values are ever increasing

15 years agoplaybin2: make fallback identity silent
Wim Taymans [Tue, 5 May 2009 15:17:00 +0000 (17:17 +0200)]
playbin2: make fallback identity silent

Set the signal-handoffs to FALSE and silent to TRUE for the fallback identity
element so that it consumes less CPU.

15 years agoplaybin2: handle custom audiosinks differently
Wim Taymans [Fri, 17 Apr 2009 08:57:16 +0000 (10:57 +0200)]
playbin2: handle custom audiosinks differently

Keep track of the autoplugged custom sinks and configure them in the playsink
element when we have collected all streams.
Also make sure that we only select one custom sink.
When unreffing the internal sink, we don't need to change the state to NULL.

15 years agoplaybin2: unify custom sink get/set functions
Wim Taymans [Tue, 12 May 2009 08:36:25 +0000 (10:36 +0200)]
playbin2: unify custom sink get/set functions

Use one function to set/get all of the different sink types.
cleanup up the subpicture chain too.
Allow setting a custom subpicture sink.

15 years agointerfaces: Seperate some more struct definitions from typedefs
Sebastian Dröge [Mon, 11 May 2009 16:29:34 +0000 (18:29 +0200)]
interfaces: Seperate some more struct definitions from typedefs

15 years agointerfaces: Seperate some more struct definitions from typedefs
Sebastian Dröge [Mon, 11 May 2009 13:48:56 +0000 (15:48 +0200)]
interfaces: Seperate some more struct definitions from typedefs

15 years agoAdd new functions to win32 exports
Sebastian Dröge [Sun, 10 May 2009 15:28:53 +0000 (17:28 +0200)]
Add new functions to win32 exports

15 years agoAdd new functions to the docs
Sebastian Dröge [Sun, 10 May 2009 15:28:05 +0000 (17:28 +0200)]
Add new functions to the docs

15 years agointerfaces: API: Add gst_mixer_get_mixer_type()
Sebastian Dröge [Sun, 10 May 2009 15:25:58 +0000 (17:25 +0200)]
interfaces: API: Add gst_mixer_get_mixer_type()

This is a convenience function that returns the mixer_type
of the interface struct.

15 years agointerfaces: Add docs for gst_color_balance_get_balance_type()
Sebastian Dröge [Sun, 10 May 2009 15:25:31 +0000 (17:25 +0200)]
interfaces: Add docs for gst_color_balance_get_balance_type()

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

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

15 years agotextrender: Correctly initialize the background for ARGB too
Sebastian Dröge [Thu, 7 May 2009 15:38:40 +0000 (17:38 +0200)]
textrender: Correctly initialize the background for ARGB too

15 years agotextrender: Use libgstvideo functions to create caps
Sebastian Dröge [Thu, 7 May 2009 14:59:32 +0000 (16:59 +0200)]
textrender: Use libgstvideo functions to create caps

Also check if downstream wants ARGB always when we get
new caps.

15 years agotextrender: Don't always use ARGB if downstream supports it but take it's preference
Sebastian Dröge [Thu, 7 May 2009 14:52:02 +0000 (16:52 +0200)]
textrender: Don't always use ARGB if downstream supports it but take it's preference

15 years agotextrender: Add support for ARGB and alignment properties
Kapil Agrawal [Thu, 7 May 2009 14:48:08 +0000 (16:48 +0200)]
textrender: Add support for ARGB and alignment properties

Fixes bug #581571.

15 years agotextrender: Add ; after GST_BOILERPLATE to fix indention
Sebastian Dröge [Thu, 7 May 2009 14:42:20 +0000 (16:42 +0200)]
textrender: Add ; after GST_BOILERPLATE to fix indention

15 years agovorbistag: Use text/uri-list as mimetype instead of ---> for URI lists
Sebastian Dröge [Thu, 7 May 2009 13:10:30 +0000 (15:10 +0200)]
vorbistag: Use text/uri-list as mimetype instead of ---> for URI lists

15 years agotypefindfunctions: made mp3_type_find less aggressive
Arnout Vandecappelle [Thu, 7 May 2009 12:59:36 +0000 (14:59 +0200)]
typefindfunctions: made mp3_type_find less aggressive

mp3_type_find could suggest already when only a single valid header
was found, if it ran out of data before the end of the next frame.
Therefore, ignore the last found frame if it was incomplete.
Fixes bug #579692.

15 years agovorbistag: Store cover art in vorbiscomments
John Millikin [Thu, 7 May 2009 12:48:29 +0000 (14:48 +0200)]
vorbistag: Store cover art in vorbiscomments

Fixes bug #513373.

15 years agointerfaces: API: Add gst_color_balance_get_balance_type()
Sebastian Dröge [Thu, 7 May 2009 04:14:18 +0000 (06:14 +0200)]
interfaces: API: Add gst_color_balance_get_balance_type()

This is a convenience function that returns the balance_type
of the interface struct.

15 years agointerfaces: Separate struct definitions from typedefs
Sebastian Dröge [Wed, 6 May 2009 15:59:13 +0000 (17:59 +0200)]
interfaces: Separate struct definitions from typedefs

15 years agoFix libdir for uninstalled gstreamer-app library
Sebastian Dröge [Wed, 6 May 2009 12:03:01 +0000 (14:03 +0200)]
Fix libdir for uninstalled gstreamer-app library

15 years agopbutils: add description for APE tag caps
Tim-Philipp Müller [Tue, 12 May 2009 00:59:01 +0000 (01:59 +0100)]
pbutils: add description for APE tag caps

15 years agoconfigure: bump core requirement to last release
Tim-Philipp Müller [Tue, 12 May 2009 00:35:27 +0000 (01:35 +0100)]
configure: bump core requirement to last release

as that's more likely to be true than that we need
only 0.21.1.

15 years agoconfigure: rename CVS -> git in a couple of places
Tim-Philipp Müller [Tue, 12 May 2009 00:21:57 +0000 (01:21 +0100)]
configure: rename CVS -> git in a couple of places

15 years agoconfigure: bump GLib requirement to GLib >= 2.16
Tim-Philipp Müller [Tue, 12 May 2009 00:17:53 +0000 (01:17 +0100)]
configure: bump GLib requirement to GLib >= 2.16

as per the New Regime (see wiki).

15 years agotagdemux: cache events from upstream and re-send them once we have a source pad
Tim-Philipp Müller [Thu, 30 Apr 2009 23:09:15 +0000 (00:09 +0100)]
tagdemux: cache events from upstream and re-send them once we have a source pad

Makes sure tags don't get dropped when we have multiple tag demuxers in a row.
Fixes #580318.

15 years agoriff: support UYVY raw 4:2:2 in riff.
Michael Smith [Thu, 7 May 2009 21:07:44 +0000 (14:07 -0700)]
riff: support UYVY raw 4:2:2 in riff.

15 years agoBack to development -> 0.10.23.1
Jan Schmidt [Mon, 11 May 2009 20:20:07 +0000 (21:20 +0100)]
Back to development -> 0.10.23.1

15 years agotheoradec: fix buffer overrun on 422 decode.
Michael Smith [Tue, 28 Apr 2009 05:42:55 +0000 (22:42 -0700)]
theoradec: fix buffer overrun on 422 decode.

15 years agotheoradec: 444 support.
Michael Smith [Tue, 28 Apr 2009 04:39:01 +0000 (21:39 -0700)]
theoradec: 444 support.

15 years agotheoradec: handle 422 images (as YUY2).
Michael Smith [Tue, 28 Apr 2009 04:30:04 +0000 (21:30 -0700)]
theoradec: handle 422 images (as YUY2).

15 years agotheoradec: rearrange code in preparation for 422 and 444 support.
Michael Smith [Tue, 28 Apr 2009 04:01:51 +0000 (21:01 -0700)]
theoradec: rearrange code in preparation for 422 and 444 support.

15 years agoRelease 0.10.23
Jan Schmidt [Sun, 10 May 2009 22:57:01 +0000 (23:57 +0100)]
Release 0.10.23

15 years agoUpdate .po files
Jan Schmidt [Sun, 10 May 2009 22:56:05 +0000 (23:56 +0100)]
Update .po files

15 years ago0.10.22.6 pre-release
Jan Schmidt [Fri, 8 May 2009 19:32:20 +0000 (20:32 +0100)]
0.10.22.6 pre-release

15 years agoplaybin2: fix resume after pause
Wim Taymans [Fri, 8 May 2009 11:09:32 +0000 (13:09 +0200)]
playbin2: fix resume after pause

Don't ignore the state change of the children, they might be doing an ASYNC
state change.

15 years ago0.10.22.5 pre-release
Jan Schmidt [Fri, 8 May 2009 10:05:41 +0000 (11:05 +0100)]
0.10.22.5 pre-release

15 years agomultifdsink: fix signature of the add-full signal
Wim Taymans [Thu, 7 May 2009 20:01:01 +0000 (22:01 +0200)]
multifdsink: fix signature of the add-full signal

The second parameter is a GstSyncMethod enum, not a boolean.

15 years agoplaysink: initialize variable too
Wim Taymans [Thu, 7 May 2009 13:19:05 +0000 (15:19 +0200)]
playsink: initialize variable too

15 years agoplaybin2: make playsink go ASYNC to PAUSED
Wim Taymans [Thu, 7 May 2009 12:28:30 +0000 (14:28 +0200)]
playbin2: make playsink go ASYNC to PAUSED

Make playsink go async to the PAUSED state instead of relying on uridecodebin
for async behaviour in playbin. This solves some problems (mainly with DVD)
where the pipeline would go to PLAYING before preroll completed, failing to
select the audiosink clock.
Fixes #581727

15 years ago0.10.22.4 pre-release
Jan Schmidt [Wed, 6 May 2009 15:09:52 +0000 (16:09 +0100)]
0.10.22.4 pre-release

15 years agovorbisenc, theoraenc: Ensure gp is computed consistently + clip to segment
Zaheer Merali [Wed, 6 May 2009 12:19:34 +0000 (13:19 +0100)]
vorbisenc, theoraenc: Ensure gp is computed consistently + clip to segment

With vorbisenc, compute the granulepos with running time and clip incoming
buffers to segment.
With theoraenc, drop out of segment buffers.

15 years agoaudioresample: Fix buffer size transformations
Jan Schmidt [Fri, 1 May 2009 15:47:53 +0000 (16:47 +0100)]
audioresample: Fix buffer size transformations

When calculating the input/output buffer sizes in the transform_size function,
take the number of channels into account, so we don't end up calculating
a buffer size that only contains a partial number of audio frames.

Also, when going from output size to input size, round down rather than
up, so as to calculate the minimum number of samples that *might* yield
a buffer of the intended destination size.

Fixes: #580470 and #580952

15 years agovorbisenc: Ensure output buffers fall within the segment
Jan Schmidt [Wed, 29 Apr 2009 15:45:27 +0000 (16:45 +0100)]
vorbisenc: Ensure output buffers fall within the segment

Add the start position of the first segment to the running time
used to generate buffer timestamps in vorbisenc. This avoids generating
buffers which fall outside the initial segment. The element segment
handling requires more extensive fixing, but this at least prevents
regressions. Fixes: #580020

15 years agoRevert "add can-activate-pull property to baseaudiosink"
Andy Wingo [Wed, 29 Apr 2009 09:18:42 +0000 (11:18 +0200)]
Revert "add can-activate-pull property to baseaudiosink"

This reverts commit c4074a2ee4f1e6cac734a145bf675bbb16fac985.

15 years agoRevert "[baseaudiosink] add docs for can-activate-pull"
Andy Wingo [Wed, 29 Apr 2009 09:18:33 +0000 (11:18 +0200)]
Revert "[baseaudiosink] add docs for can-activate-pull"

This reverts commit 416ce16f26b39c76ab35e1ef6a75dc41ec69f75b.

15 years ago[baseaudiosink] add docs for can-activate-pull
Andy Wingo [Tue, 28 Apr 2009 16:48:33 +0000 (18:48 +0200)]
[baseaudiosink] add docs for can-activate-pull

* gst-libs/gst/audio/gstbaseaudiosink.c: Add documentation for
  can-activate-pull.