Wim Taymans [Thu, 11 Jun 2009 10:39:19 +0000 (12:39 +0200)]
docs: fix typo
Wim Taymans [Thu, 11 Jun 2009 10:17:16 +0000 (12:17 +0200)]
baseaudiosink: reset accum when dropping samples
When we are resampling and we drop samples because we paused, reset the accum
counter because it's now invalid.
Jan Schmidt [Thu, 11 Jun 2009 10:16:15 +0000 (11:16 +0100)]
docs: Fix a couple of warnings from the docs build.
Tim-Philipp Müller [Wed, 10 Jun 2009 20:36:19 +0000 (21:36 +0100)]
Don't include config.h multiple times when build audio testchannel app.
Fixes build problem on win32 (#585075).
Jan Schmidt [Wed, 10 Jun 2009 15:56:51 +0000 (16:56 +0100)]
playbin2/uridecodebin: Fix connection-speed propagation
uridecodebin expects the passed connection-speed value in kbps, so we
need to divide the value stored in bps by 1000. Also, lower the upper
limit on the properties to the value that we can actually store in our
internal guint (which is plenty high enough)
Tim-Philipp Müller [Wed, 10 Jun 2009 13:37:36 +0000 (14:37 +0100)]
subparse: recognise more subrip timestamp variants
Be even less restrictive in what we accept for .srt timestamps when
typefinding and parsing subrip subtitles and add a unit test for
the 'new' format. Fixes #585197.
Wim Taymans [Tue, 9 Jun 2009 20:00:53 +0000 (22:00 +0200)]
rtsp: add some more docs
Peter Kjellerstedt [Tue, 9 Jun 2009 16:24:55 +0000 (18:24 +0200)]
rtsp: Avoid a compiler warning.
Peter Kjellerstedt [Tue, 9 Jun 2009 16:23:28 +0000 (18:23 +0200)]
rtsp: Updated documentation for GstRTSPResult.
Moved GST_RTSP_ELAST to be last in the documentation to match the actual
enum values.
Tim-Philipp Müller [Wed, 20 May 2009 16:30:23 +0000 (17:30 +0100)]
autogen: remove -Wno-portability from here
as it is in configure.ac now.
Peter Kjellerstedt [Tue, 9 Jun 2009 14:28:20 +0000 (16:28 +0200)]
rtsp: Plug a memory leak.
Free memory related to any partially read and/or written RTSP messages.
Wim Taymans [Tue, 9 Jun 2009 10:09:15 +0000 (12:09 +0200)]
baseaudiosink: no need to cause discont when clipping
Remove the discont-when-clipping hack now that basesink provides us with
correctly clipped samples when stepping.
Wim Taymans [Mon, 8 Jun 2009 15:26:59 +0000 (17:26 +0200)]
audiosink: don't align when we clip
Don't align samples when they were clipped. Not entirely correct but better than
nothing for now.
Wim Taymans [Mon, 8 Jun 2009 14:41:58 +0000 (16:41 +0200)]
examples: add stepping example in PLAYING
Add stepping example in PLAYING, audio is a bit distorted because basesink does
not provide good clipping info yet.
Edward Hervey [Mon, 8 Jun 2009 08:25:00 +0000 (10:25 +0200)]
pbutils: Add description for hdv/aux-* formats.
LRN [Sun, 7 Jun 2009 18:20:33 +0000 (22:20 +0400)]
Added libgstbase to schro's LIBADD
Fixes #585079
Tim-Philipp Müller [Sat, 6 Jun 2009 01:15:05 +0000 (02:15 +0100)]
libgsttag: don't extract genres from empty ID3v1 tags
If we don't have any other info, don't try to interpret the
genre field. In particular we don't want to interpret a genre
of 0 as 'Blues' if no other fields are set and the entire tag
is just empty.
Wim Taymans [Fri, 5 Jun 2009 16:13:25 +0000 (18:13 +0200)]
decodebin2: make sure varargs are of right type
Explicitly cast the variables to g_object_set to their right types.
Wim Taymans [Fri, 5 Jun 2009 14:49:58 +0000 (16:49 +0200)]
decodebin2: increase stream probing queues
When we are probing for streams, we want to set the queue size in such a way
that we can scan a maximum amount of data without consuming too much memory.
Therefore, remove the time limit on the queue and only stop scanning after 2MB
of data.
See #584104.
Peter Kjellerstedt [Fri, 5 Jun 2009 12:06:17 +0000 (14:06 +0200)]
rtsp: Fixed a typo.
Peter Kjellerstedt [Fri, 5 Jun 2009 12:05:54 +0000 (14:05 +0200)]
rtsp: Remove an unused variable.
Peter Kjellerstedt [Fri, 5 Jun 2009 11:59:14 +0000 (13:59 +0200)]
rtsp: Removed duplicate initialization of conn->writefd.
Peter Kjellerstedt [Fri, 5 Jun 2009 11:55:08 +0000 (13:55 +0200)]
rtsp: Use #defined status codes.
Peter Kjellerstedt [Fri, 5 Jun 2009 11:53:29 +0000 (13:53 +0200)]
rtsp: Correct gen_tunnel_reply().
Prevent gen_tunnel_reply() from generating an incomplete response
in case an error response code is given.
Tim-Philipp Müller [Fri, 5 Jun 2009 09:57:44 +0000 (10:57 +0100)]
configure: remove AC_C_INLINE which is not needed and causes problems with MSVC
See #584835. Also update win32 files while we're at it.
Sebastian Dröge [Thu, 4 Jun 2009 06:57:24 +0000 (08:57 +0200)]
playbin2: API: Add {audio,video,text}-tags-changed signals
Fixes bug #584686.
Tim-Philipp Müller [Wed, 3 Jun 2009 19:42:39 +0000 (20:42 +0100)]
vorbisdec: don't put invalid bitrate values into the taglist
Bitrates are stored as 32-bit signed integers in the vorbis
identification headers, but seem to be read incorrectly,
namely as unsigned 32-bit integers, into the vorbis structure
members which are of type long, which makes our check for
values <= 0 fail with files that put -1 in there for unset
values.
Wim Taymans [Wed, 3 Jun 2009 13:52:54 +0000 (15:52 +0200)]
ignore: add new stepping app to ignore
Wim Taymans [Wed, 3 Jun 2009 13:31:27 +0000 (15:31 +0200)]
examples: add stepping example.
Add an example of using playbin2 and frame stepping to simulate variable rate
playback based on a sine wave.
Wim Taymans [Wed, 3 Jun 2009 10:45:08 +0000 (12:45 +0200)]
playbin2: also set custom text and subp sinks
Set the custom subpicture and text sinks along with the custom audio and video
sinks when needed.
Fix a little docs blurb too.
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