Wim Taymans [Tue, 2 Jun 2009 10:10:39 +0000 (12:10 +0200)]
rtsp: add G_LIKELY because we can
Edward Hervey [Tue, 2 Jun 2009 07:53:05 +0000 (09:53 +0200)]
typefindfunctions: Fix caps for ogg typefinder.
Tim-Philipp Müller [Fri, 29 May 2009 10:10:07 +0000 (11:10 +0100)]
docs: remove some cruft from -sections.txt file
Wim Taymans [Mon, 1 Jun 2009 09:31:49 +0000 (11:31 +0200)]
add framestepping to playbin2 and seek
Peter Kjellerstedt [Mon, 1 Jun 2009 07:59:22 +0000 (09:59 +0200)]
rtsp: Avoid compiler warnings with -Wextra.
Peter Kjellerstedt [Mon, 1 Jun 2009 07:58:27 +0000 (09:58 +0200)]
rtsp: Include gst/gstconfig.h to make sure GST_PADDING is defined.
Peter Kjellerstedt [Mon, 1 Jun 2009 07:43:04 +0000 (09:43 +0200)]
sdp: Remove an unused variable.
Sebastian Dröge [Sat, 30 May 2009 12:17:41 +0000 (14:17 +0200)]
ffmpegcolorspace: Add a lot more conversions from/to 16 bit grayscale
Jan Schmidt [Thu, 28 May 2009 23:09:15 +0000 (00:09 +0100)]
playbin2: Have playbin recognise PGS subpicture streams
Recognise PGS subpicture streams and connect them to the SPU pad
in playsink. Unfortunately this fails badly with negotiation errors
if the SPU is not recent enough to support the stream. I'm not sure
how to add format negotiation in yet.
Jan Schmidt [Thu, 21 May 2009 22:11:29 +0000 (23:11 +0100)]
decodebin/uridecodebin: Recognise subpicture/x-pgs pads and output them.
Tim-Philipp Müller [Thu, 28 May 2009 19:37:59 +0000 (20:37 +0100)]
playbin2: fix volume handling for audio sinks without "volume" property
When using an audio sink without a "volume" property, volume control
would only work for the first song. For the next song, we'd try to
re-use the existing audio chain, but inadvertently set chain->volume
to NULL instead of to the existing volume element.
Tim-Philipp Müller [Thu, 28 May 2009 16:05:55 +0000 (17:05 +0100)]
playbin2: cosmetic change to avoid unnecessary line breaks
Looks nicer and works around gst-indent silliness.
Wim Taymans [Thu, 28 May 2009 15:21:35 +0000 (17:21 +0200)]
playbin2: don't lose the ref to the volume element
Only release the ref to the volume element when it is controled by a sink. For
software volume we never have to fear that it will change.
Tim-Philipp Müller [Thu, 28 May 2009 14:21:42 +0000 (15:21 +0100)]
playbin2: actually use configured audio/video sinks
playbin2 inadvertently used autoaudiosink and autovideosink up to now,
since it would overwrite the sinks configured via the "audio-sink"
and "video-sink" properties with the stream-specific group sinks when
configuring the outputs. Those are usually NULL however, so that would
overwrite the configured sinks with NULL which makes playbin2 then
default to the auto sinks. Fix this by keeping a reference to each
configured sink in playbin2 and setting up the right sinks depending
on whether there is a stream-specific sink or not.
Fixes #584020.
Stefan Kost [Wed, 27 May 2009 14:37:38 +0000 (17:37 +0300)]
seek: add volume label and sync with sink volume
Look at the volume and have the pulsemixer open at same time. Unfortunately
playbin2 does not emit notify on volume right, so this polls for now.
Wim Taymans [Wed, 27 May 2009 16:12:10 +0000 (18:12 +0200)]
decodebin2: remove leftover elements
Remove all of the elements inside decodebin2 when goint to READY and NULL.
Makes decodebin2 reusable.
Fixes #583750
Wim Taymans [Wed, 27 May 2009 13:36:51 +0000 (15:36 +0200)]
playbin2; release refs to volume/mute properties
Release the refs to the volume and mute property elemens before setting the
child elements to READY or NULL.
Fixes #583318
Wim Taymans [Wed, 27 May 2009 10:10:05 +0000 (12:10 +0200)]
gdppay: set caps on outgoing buffers
Set caps on outgoing buffers because NULL caps confuse basetransform.
Fixes #583867
Wim Taymans [Wed, 27 May 2009 09:08:37 +0000 (11:08 +0200)]
netbuffer: also note the order of IP4 addresses
IP4 addresses are also stored in network byte order. Make a note of this in the
docs.
Alessandro Decina [Tue, 26 May 2009 20:43:34 +0000 (22:43 +0200)]
theoraparse: fix assertions in make_granulepos when using the new theora granulepos mapping. Fixes #583903.
Tim-Philipp Müller [Tue, 26 May 2009 10:13:35 +0000 (11:13 +0100)]
Revert "rtspconnection: don't use GLib-2.16 API, we require only 2.14"
This reverts commit
418760cf740332c12c3fd9cf3244af134fa9534b.
We now require GLib 2.16.
Jan Schmidt [Tue, 26 May 2009 14:18:09 +0000 (15:18 +0100)]
Update common
Wim Taymans [Tue, 26 May 2009 13:37:18 +0000 (15:37 +0200)]
netbuffer: document that the port is network order
Document the fact that we store the port number in network order in
GstNetAddress and that the caller should byteswap appropriately.
Sebastian Dröge [Tue, 26 May 2009 13:23:45 +0000 (15:23 +0200)]
videoscale: Add support for 16 bit grayscale in native endianness
Sebastian Dröge [Tue, 26 May 2009 12:58:28 +0000 (14:58 +0200)]
ffmpegcolorspace: Add support for 16 bit grayscale in little/big endian
Sebastian Dröge [Tue, 26 May 2009 12:38:43 +0000 (14:38 +0200)]
videotestsrc: Add support for 16 bit grayscale in native endianness
Andy Wingo [Wed, 21 Jan 2009 11:33:59 +0000 (12:33 +0100)]
add can-activate-pull property to baseaudiosink
* gst-libs/gst/audio/gstbaseaudiosink.c: Add can-activate-pull property
to baseaudiosink.
Wim Taymans [Tue, 26 May 2009 11:14:07 +0000 (13:14 +0200)]
oggdemux: fix boundary case for seeking.
When we have exactly 0 bytes left to search, make sure we stop instead of going
into an infinite loop.
Bastien Nocera [Tue, 26 May 2009 09:11:03 +0000 (11:11 +0200)]
cddabasesrc: Remove copy of sha1 digest
Remove our copy of sha1 digest now that we depend on glib 2.16.
Fixes #536313
Christian Schaller [Mon, 25 May 2009 16:54:01 +0000 (17:54 +0100)]
Update spec file
Tim-Philipp Müller [Fri, 22 May 2009 23:33:04 +0000 (00:33 +0100)]
video: don't expose internal gst_adapter_get_buffer() helper function
If it's really needed it should go into GstAdapter in core.
David Schleef [Sat, 23 May 2009 04:29:51 +0000 (21:29 -0700)]
basevideo: Fix memleak
David Schleef [Sat, 23 May 2009 04:27:58 +0000 (21:27 -0700)]
schro: Fix usage of adapter_masked_scan_uint32
Because *somebody* changed the API without telling me.
David Schleef [Sat, 23 May 2009 04:25:06 +0000 (21:25 -0700)]
schro: Change package name to GST_PACKAGE_NAME
David Schleef [Sat, 23 May 2009 00:34:10 +0000 (17:34 -0700)]
basevideo: Add preset interface to encoder
David Schleef [Sat, 23 May 2009 00:31:14 +0000 (17:31 -0700)]
Run liboil benchmark multiple times
The statistics function requires multiple runs, otherwise
it causes a divide by zero error.
Tim-Philipp Müller [Fri, 22 May 2009 18:36:06 +0000 (19:36 +0100)]
m4: fix 'suspicious cache value' warning for gst-fionread.m4
.. here as well (should really be moved to common, but I'm too lazy).
Wim Taymans [Fri, 22 May 2009 15:41:50 +0000 (17:41 +0200)]
vorbisdec: detect and report errors better
Check the return values of a couple more libvorbis functions and post an error
when something is wrong instead of continuing and crashing.
Stefan Kost [Fri, 22 May 2009 12:49:14 +0000 (15:49 +0300)]
playbin2: fix initial volume and mute handling
Use two flags to remember volume/mute changes at times when we don't have the
audiochain yet (e.g. construction). Only set values when they were actualy
changed. This makes pulseaudio's stream restore functional.
Jan Schmidt [Fri, 22 May 2009 09:19:51 +0000 (10:19 +0100)]
Automatic update of common submodule
From
d3a8fab to
888e0a2
Jan Schmidt [Fri, 22 May 2009 08:03:22 +0000 (09:03 +0100)]
win32: Remove gst_adapter_masked_scan_uint32 from the exports
Wim Taymans [Thu, 21 May 2009 08:48:49 +0000 (10:48 +0200)]
audiosink: improve debug message
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.
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.
Wim Taymans [Tue, 19 May 2009 22:42:29 +0000 (00:42 +0200)]
defs: add new symbols
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.
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
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.
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.
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.
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.
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).
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.
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
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.
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.
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
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
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.
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.
Stefan Kost [Mon, 18 May 2009 22:13:34 +0000 (01:13 +0300)]
adder: add more logging and return value checking
Stefan Kost [Mon, 18 May 2009 22:11:45 +0000 (01:11 +0300)]
adder: handle the return value from iterator_fold
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.
Stefan Kost [Tue, 21 Apr 2009 19:54:19 +0000 (22:54 +0300)]
seek: use parser for mp3 and rename variable
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.
David Schleef [Tue, 10 Feb 2009 23:29:10 +0000 (15:29 -0800)]
videotestsrc: Add support for v210 and v216 formats
David Schleef [Fri, 15 May 2009 23:21:15 +0000 (16:21 -0700)]
video: remove // comments
David Schleef [Fri, 15 May 2009 23:18:18 +0000 (16:18 -0700)]
video: Add Y444, v210, v216 formats
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.
David Schleef [Fri, 15 May 2009 17:23:08 +0000 (10:23 -0700)]
video: Copy BaseVideo classes from Schroedinger
Arnout Vandecappelle [Fri, 15 May 2009 21:05:45 +0000 (23:05 +0200)]
multifdsink: add num-fds property
multifdsink::num-fds
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
Sebastian Dröge [Thu, 14 May 2009 09:44:27 +0000 (11:44 +0200)]
vorbisenc: Implement Preset interface
Sebastian Dröge [Thu, 14 May 2009 09:43:07 +0000 (11:43 +0200)]
theoraenc: Implement Preset interface
Sebastian Dröge [Thu, 14 May 2009 09:41:13 +0000 (11:41 +0200)]
oggmux: Implement Preset interface
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.
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.
Wim Taymans [Wed, 22 Apr 2009 16:34:59 +0000 (18:34 +0200)]
AUTHORS: fix my email
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.
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.
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.
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).
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.
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.
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
Tim-Philipp Müller [Fri, 1 May 2009 00:03:06 +0000 (01:03 +0100)]
audiotestsrc: support more than just one channel
Sebastian Dröge [Tue, 12 May 2009 13:52:41 +0000 (15:52 +0200)]
propertyprobe: Fix typo in the docs
Christian Schaller [Tue, 12 May 2009 11:17:55 +0000 (12:17 +0100)]
Add ranks to the Oggmuxer, Vorbis encoder and Theora encoder
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.
Wim Taymans [Tue, 28 Apr 2009 09:37:14 +0000 (11:37 +0200)]
oggmux: small debug statement in DISCONT
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
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.
Wim Taymans [Mon, 27 Apr 2009 08:15:44 +0000 (10:15 +0200)]
rtpdepay: add some more comments
Wim Taymans [Fri, 17 Apr 2009 08:54:31 +0000 (10:54 +0200)]
audioclock: make sure values are ever increasing
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.
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.
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.
Sebastian Dröge [Mon, 11 May 2009 16:29:34 +0000 (18:29 +0200)]
interfaces: 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
Sebastian Dröge [Sun, 10 May 2009 15:28:53 +0000 (17:28 +0200)]
Add new functions to win32 exports