Jan Schmidt [Fri, 8 May 2009 19:32:20 +0000 (20:32 +0100)]
0.10.22.6 pre-release
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.
Jan Schmidt [Fri, 8 May 2009 10:05:41 +0000 (11:05 +0100)]
0.10.22.5 pre-release
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.
Wim Taymans [Thu, 7 May 2009 13:19:05 +0000 (15:19 +0200)]
playsink: initialize variable too
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
Jan Schmidt [Wed, 6 May 2009 15:09:52 +0000 (16:09 +0100)]
0.10.22.4 pre-release
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.
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
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
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.
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.
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.
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, 28 Apr 2009 09:32:49 +0000 (11:32 +0200)]
videorate: clear discont on duplicated buffers
When videorate duplicates a buffer with a DISCONT flag, it copies the discont on
the first pushed buffer but fails to clear it for subsequent buffers. This
causes theoraenc!oggmux and possibly other elements to consider this a discont
stream.
Fix videorate to produce discont as the first buffer and after a flushing seek.
Fixes #580271.
Jan Schmidt [Fri, 24 Apr 2009 17:13:00 +0000 (18:13 +0100)]
check: Disable the playbin2 for this release, as it is a bit racy.
Disable the test, as per the discussion in #580120. Needs re-enabling
after the release, when playbin2 is fixed.
Edward Hervey [Thu, 23 Apr 2009 06:41:19 +0000 (08:41 +0200)]
decodebin2: Don't reduce max-size-time of exposed groups. Fixes #579912
The 2s limit is way too small for a lot of files (which have an interleave
in time of between 3 and 5s). Instead, leave it to the initial 5s value
and reduce the other limits (allowing us to stay memory-efficient).
Jan Schmidt [Tue, 21 Apr 2009 20:06:59 +0000 (21:06 +0100)]
0.10.22.3 pre-release
René Stadler [Tue, 21 Apr 2009 19:41:23 +0000 (20:41 +0100)]
audioresample: Fix unused variable in compilation with --disable-gst-debug
Fixes: #579668
Jan Schmidt [Tue, 21 Apr 2009 21:12:28 +0000 (22:12 +0100)]
Automatic update of common submodule
From b3941ea to 6ab11d1
Wim Taymans [Tue, 21 Apr 2009 18:57:34 +0000 (20:57 +0200)]
playbin: only use raw_decoding_mode when it's true
First check the pad caps if they are raw before setting the raw_decoding_mode to
TRUE. Fixes playback of transport streams and other streams that require large
queues.
Fixes #579734
Tim-Philipp Müller [Sun, 19 Apr 2009 17:15:28 +0000 (18:15 +0100)]
cddabasesrc: fix posting of discid tags after MERGE_MODE_REPLACE_ALL changes in core
Don't use REPLACE_ALL merge mode when that's not really what we want,
as now that REPLACE_ALL actually does what it's supposed to do in
core, we drop tags we wanted to keep, such as the various disc id
tags. Add unit test for this as well. Fixes #579463.
Tim-Philipp Müller [Fri, 17 Apr 2009 09:34:54 +0000 (10:34 +0100)]
rtspconnection: don't use GLib-2.16 API, we require only 2.14
Fixes #579267.
Wim Taymans [Fri, 17 Apr 2009 08:55:08 +0000 (10:55 +0200)]
baseaudiosink: don't unparent the ringbuffer
when going to NULL, don't unparent the ringbuffer because we don't support going
back to 0 very well yet.
Fixes #579203
Olivier Crete [Fri, 17 Apr 2009 08:53:10 +0000 (10:53 +0200)]
RTCP: don't fail when retrieving invalid PT
We can't meaningfully assert on valid packet types so just return the type as it
is. Update the comments to reflect this.
Fixes #579192.
Wim Taymans [Thu, 16 Apr 2009 10:12:44 +0000 (12:12 +0200)]
app: add trivial cast macros
Add trivial cast macros for appsrc and appsink. Mark them as being since 0.10.23
and add the macros to the standard macros in the docs.
Fixes #579130
Wim Taymans [Thu, 16 Apr 2009 10:09:49 +0000 (12:09 +0200)]
pkgconfig: add the app/ directory to Libs
Add the appsrc/appsink directory to the Libs in the uninstalled
pkgconfig file so that one can build against it.
Fixes #579129
Jan Schmidt [Wed, 15 Apr 2009 21:59:31 +0000 (22:59 +0100)]
0.10.22.2 pre-release
Jan Schmidt [Wed, 15 Apr 2009 21:56:15 +0000 (22:56 +0100)]
ChangeLog: regenerate changelog with the gen-changelog script
Jan Schmidt [Wed, 15 Apr 2009 23:41:13 +0000 (00:41 +0100)]
po: Update po files from TP
Jan Schmidt [Wed, 15 Apr 2009 23:40:59 +0000 (00:40 +0100)]
win32: Update win32 build files
Jan Schmidt [Wed, 15 Apr 2009 23:31:55 +0000 (00:31 +0100)]
check: Add GST_VIDEO_FORMAT_YVYU to the test so it passes.
Jan Schmidt [Wed, 15 Apr 2009 23:31:00 +0000 (00:31 +0100)]
check: Fix the input uri in playbin2 test.
Don't try and use a random file in wim's home directory as a test input
Sebastian Dröge [Wed, 15 Apr 2009 13:35:59 +0000 (15:35 +0200)]
video: Fix typo in the docs
Sebastian Dröge [Wed, 15 Apr 2009 12:53:47 +0000 (14:53 +0200)]
video: Add support for YVYU YUV colorspace
Tim-Philipp Müller [Tue, 14 Apr 2009 23:17:51 +0000 (00:17 +0100)]
docs: fix hyperlink and move fft attribution to the right place
Stefan Kost [Tue, 14 Apr 2009 21:02:39 +0000 (00:02 +0300)]
log: use G_GUINT64_FORMAT instead of llu
Josep Torra [Tue, 14 Apr 2009 16:31:52 +0000 (18:31 +0200)]
RTSP: add missing headers for WMS RTSP
Add missing headers related to Windows Media RTSP extension.
Fixes #578942
Olivier Crete [Tue, 14 Apr 2009 16:16:37 +0000 (18:16 +0200)]
theoraenc: implement upstream keyframe force
Implement handling of upstream keyframe forcing.
Update the design documents too.
Fixes #578656
Olivier Crete [Tue, 14 Apr 2009 15:31:31 +0000 (17:31 +0200)]
theoraenc: factor out keyframe forcing
See #578656
Tim-Philipp Müller [Tue, 14 Apr 2009 16:01:51 +0000 (17:01 +0100)]
Give credit to Mark Borgerding (kissfft author)
and add myself to AUTHORS as well. Fixes #575638.
Jan Urbanski [Tue, 14 Apr 2009 15:04:06 +0000 (17:04 +0200)]
multifdsink: add property to resend streamheaders
Adds a new property in multifdsink, resend-streamheader.
If this property is false, the multifdsink will not send the streamheader if
there's already one set for a particular client.
There are some formats in which every stream needs to start with a certain
blob, but you can't inject this blob at leisure. If the producer wants to
change the blob in question and sets in as the streamheader on the outgoing
buffers' caps, new clients of multifdsink will get the new streamheader, but
old clients will break, because they'll see the blob in the middle of the
stream.
The property is true by default, so existing code will not see any difference.
Fixes #578118.
Wim Taymans [Tue, 14 Apr 2009 14:53:33 +0000 (16:53 +0200)]
multifdsink: add property to handle client write
Add a property to disable listening to client writes. This property is usefull
when other code will deal with reading from the client socket.
API: GstMultiFdSink::handle-read property
Johann Prieur [Tue, 14 Apr 2009 14:45:20 +0000 (16:45 +0200)]
RTCP: add beginnings of Feedback messages
Add the beginnings of parsing and constructing Feedback messages.
Fixes #577610.
Wim Taymans [Tue, 14 Apr 2009 11:51:41 +0000 (13:51 +0200)]
playbin2: clear the target
Clear the target of our ghostpads before we remove the pad from the element.
This to make sure that the internal pad is not left linked to whatever pad we
were ghosted to. This should only be a problem when we leak the ghostpads.
Also release our subpicture pads.
Fixes #577288.
Hannes Bistry [Tue, 14 Apr 2009 11:10:30 +0000 (12:10 +0100)]
ximagesink: fix mouse pointer offsets in navigation event if window is smaller than the image
Fixes #570768.
Wim Taymans [Tue, 14 Apr 2009 11:16:14 +0000 (13:16 +0200)]
baseaudiosrc: adjust the internal timestamp
Adjust the internal timestamp before comparing it against the adjusted clock
time.
Fixes #578506
Wim Taymans [Tue, 14 Apr 2009 11:12:59 +0000 (13:12 +0200)]
baseaudiosink: use new clock time methods
Use the unadjusted internal clock times to calculate the internal/external
offset when calibrating the clock.
When going to NULL, unparent and free the ringbuffer, like we do in the source
element.
See #578506
Wim Taymans [Tue, 14 Apr 2009 11:08:52 +0000 (13:08 +0200)]
audioclock: add methods for the internal offset
Add two methods for getting the unadjusted time of the clock and one for
adjusting an internal time. We will need these methods for correctly handling
the time after a gst_audio_clock_reset().
Add a debug category and some debug lines to the audio clock.
API: gst_audio_clock_get_time()
API: gst_audio_clock_adjust()
API: GST_AUDIO_CLOCK_CAST()
Wim Taymans [Tue, 14 Apr 2009 09:34:49 +0000 (11:34 +0200)]
decodebin2: fix up the debugs and warnings
Use _OBJECT variants because we can. Go over some log statements and put them in
the right category.
Fixes #567740.
Luca Ognibene [Sun, 12 Apr 2009 20:26:33 +0000 (22:26 +0200)]
multifdsink: fix error in sync-method
Multifdsink did not handle sync-method=latest-keyframe correctly when the
soft-limit is set to -1 (unlimited).
Fixes #578583.
Wim Taymans [Fri, 10 Apr 2009 19:49:45 +0000 (21:49 +0200)]
baseaudiosink: use the internal clock time
We can't assume that the internal clock time is the same as the function we
installed on our provided clock because somebody might have changed it.
Wim Taymans [Fri, 10 Apr 2009 12:12:53 +0000 (14:12 +0200)]
seek: handle clock-lost messages
When we receive a clock-lost message we need to pause and play to select a new
clock.
Wim Taymans [Fri, 10 Apr 2009 11:44:40 +0000 (13:44 +0200)]
check: add a unit test for playbin2
Add unit test for playbin2 and include the refcount test in #577794.
Wim Taymans [Fri, 10 Apr 2009 11:42:56 +0000 (13:42 +0200)]
playbin2: fix refcounting of visualisations
See #577794.
Wim Taymans [Fri, 10 Apr 2009 11:27:41 +0000 (13:27 +0200)]
playsink: fix refcounting of custom elements
Sink the custom sinks, let other elements we create be sunken by the bin we add
them to.
Fixes #577794.
Wim Taymans [Fri, 10 Apr 2009 10:27:53 +0000 (12:27 +0200)]
check: fix appsink test
Fix the appsink test now that the method signature changed.
Wim Taymans [Fri, 10 Apr 2009 10:26:16 +0000 (12:26 +0200)]
playbin2: handle missing input-selector
Gracefully degrade and disable stream selection when input-selector is
missing.
Martin Samuelsson [Thu, 9 Apr 2009 21:46:17 +0000 (23:46 +0200)]
appsink: make callbacks return GstFlowReturn
Make the new_buffer and new_preroll callbacks return a GstFlowReturn so that
errors can be reported properly.
Fixes #577827.
Wim Taymans [Thu, 9 Apr 2009 16:04:44 +0000 (18:04 +0200)]
ringbuffer: allow for custom commit functions
Allow subclasses to override the commit method.
Wim Taymans [Wed, 8 Apr 2009 16:04:22 +0000 (18:04 +0200)]
baseaudiosink: fix a small glitch after pause
After we pause the stream and interrupt the writeout to the ringbuffer, also adjust
the amount of output samples we consumed. We can't do this reliably with the
current API when we are doing trick modes but we can do the right thing for
normal playback.
Stefan Kost [Wed, 8 Apr 2009 13:43:27 +0000 (16:43 +0300)]
playbin2: better error message on sink failure
If we could create the sinks, but the don't work, don't send the missing plugin
message and report that the state-changed failed.
Stefan Kost [Tue, 7 Apr 2009 19:38:29 +0000 (22:38 +0300)]
audiofilter: don't leak pad-template
gst_element_class_add_pad_template() does not take ownership.
Felipe Contreras [Sat, 4 Apr 2009 18:18:38 +0000 (21:18 +0300)]
Automatic update of common submodule
From d0ea89e to b3941ea
Edward Hervey [Sat, 4 Apr 2009 14:28:14 +0000 (16:28 +0200)]
navigation/v4l: Don't use g_return_val_if_fail for computed/used values.
Edward Hervey [Sun, 22 Mar 2009 08:46:37 +0000 (09:46 +0100)]
theoradec: return GST_CLOCK_TIME_NONE for negative framecounts.
This fixes most seeking issues when used with gnonlin.
Fixes #543591
Edward Hervey [Sat, 4 Apr 2009 12:53:42 +0000 (14:53 +0200)]
Automatic update of common submodule
From f8b3d91 to d0ea89e
Michael Smith [Fri, 3 Apr 2009 17:51:42 +0000 (10:51 -0700)]
playbin2: don't leak selector when getting current stream numbers.
Wim Taymans [Thu, 2 Apr 2009 20:28:55 +0000 (22:28 +0200)]
rtsp: use fully qualified urls when using a proxy
Use a fully qualified url when specifying the url for tunneled requests through
a proxy.
See #573173
Jan Schmidt [Mon, 30 Mar 2009 23:54:30 +0000 (00:54 +0100)]
navigation: Extend the navigation interface
Add support for a set of standard commands that can be queried and executed to
support applications like DVD. Add query construction and parsing functions.
Add new messages that can be sent on the bus to provide notifications related
to commands, multiangle changes, and button highlight activity.
Add some helper functions to parse the existing GstNavigation events that
elements might receive.
Document it all and add unit tests.
Jan Schmidt [Wed, 4 Feb 2009 17:03:07 +0000 (17:03 +0000)]
playbin: Add simple 'raw decoding mode'.
Raw decoding mode removes almost all buffering in video and audio queues
when a source providing already decoded video/audio is detected, on the
possibly bogus assumption that such a source should provide sufficient
internal queueing. Fixes playback on some DVDs, and improves it
on all.
Jan Schmidt [Thu, 2 Apr 2009 08:27:07 +0000 (09:27 +0100)]
ignores: Ignore the videoscale check binary
Jan Schmidt [Thu, 2 Apr 2009 11:13:57 +0000 (12:13 +0100)]
win32: Add gst_rtsp_connection_set_proxy to the win32 exports
Tim-Philipp Müller [Thu, 2 Apr 2009 09:42:19 +0000 (10:42 +0100)]
alsamixer: don't forget to release locks in a few places
Might fix #576585.
Sebastian Dröge [Thu, 2 Apr 2009 09:10:12 +0000 (11:10 +0200)]
videoscale: Don't read over line ends when taking the last Cr or Cb
Sebastian Dröge [Thu, 2 Apr 2009 08:52:06 +0000 (10:52 +0200)]
videoscale: Don't write to few pixels and don't mix Cr and Cb
Fixes bug #577054.
Tim-Philipp Müller [Wed, 1 Apr 2009 14:15:57 +0000 (15:15 +0100)]
audioresample: fix negotiation so that upstream can actually fixate to downstream's rate
If one side has a preference for a particular sample rate or set of sample rates, we
should honour this in the caps we advertise and transform to and from, so that elements
actually know about the other side's sample rate preference and can negotiate to it
if supported. Also add unit test for this.
Tim-Philipp Müller [Thu, 26 Mar 2009 19:34:23 +0000 (19:34 +0000)]
docs: add a blurb about redirect messages to playbin2 docs
Wim Taymans [Wed, 1 Apr 2009 07:03:35 +0000 (09:03 +0200)]
rtsp: fix little typo in the comments
Tim-Philipp Müller [Tue, 31 Mar 2009 16:52:44 +0000 (17:52 +0100)]
rtspconnection: make gst_rtsp_watch_queue_message() thread-safe
People might queue messages from a thread other than the thread in which
the main context which this watch is attached is iterated from, so use
a GAsyncQueue instead of a GList, so g_list_append() doesn't trample
over list nodes just freed in the other thread. This just fixes issues
I've had with gst-rtsp-server. We might need more locking in various
places here.
Tim-Philipp Müller [Tue, 31 Mar 2009 17:13:19 +0000 (18:13 +0100)]
rtsp: clear the entire builder structure
And use structure instead of variable with sizeof when
clearing the rtsp message structure, for clarity.
Tim-Philipp Müller [Tue, 31 Mar 2009 16:56:24 +0000 (17:56 +0100)]
docs: fix typo in gst_rtsp_message_unset() API docs
Wim Taymans [Tue, 31 Mar 2009 17:00:00 +0000 (19:00 +0200)]
rtsp: add support for proxies
Add suport for proxy servers. Currently only used for tunneled HTTP
connections without authentication.
Wim Taymans [Tue, 31 Mar 2009 16:57:08 +0000 (18:57 +0200)]
Revert "rtsp: reset whole message (was sizeof pointer instead of sizeof type)"
This reverts commit
79de0b8d67df6fbbe79455adc2e06858295f5c03.
Stefan Kost [Thu, 26 Mar 2009 16:54:56 +0000 (18:54 +0200)]
xvimagesink: use xcontext->depth instead of bits in attr.max_value for colorkey
According to the drivers in http://cgit.freedesktop.org/xorg/driver/ we should
format the colorkey depending on xcontext->depth. This is what they will use to
interprete the value. The max_value in turn is usualy a constant regardless of
the depth.
Stefan Kost [Tue, 31 Mar 2009 09:22:14 +0000 (12:22 +0300)]
rtsp: reset whole message (was sizeof pointer instead of sizeof type)
Jan Schmidt [Mon, 30 Mar 2009 23:56:18 +0000 (00:56 +0100)]
doc: Fix a typo in the GstMixer docs
Sebastian Dröge [Sun, 29 Mar 2009 10:01:33 +0000 (12:01 +0200)]
videoscale: Fix linear scaling for one byte components
Fixes bug #577054.
Sebastian Dröge [Sun, 29 Mar 2009 09:53:40 +0000 (11:53 +0200)]
videoscale: Fix 4tap scaling of YUYV and friends
Sebastian Dröge [Sat, 28 Mar 2009 15:08:44 +0000 (16:08 +0100)]
videoscale: Rewrite YUYV (and friends) scaling and don't read/write over line ends
Partially fixes bug #577054, there's just one issue left now.
Sebastian Dröge [Sat, 28 Mar 2009 11:48:04 +0000 (12:48 +0100)]
videoscale: Add some more unit tests
Sebastian Dröge [Sat, 28 Mar 2009 10:51:01 +0000 (11:51 +0100)]
videoscale: Use bilinear instead of 4tap scaling for heights < 4
Partially fixes bug #577054.
Sebastian Dröge [Sat, 28 Mar 2009 10:45:41 +0000 (11:45 +0100)]
videoscale: Don't read after the end of a line when lineary scaling YUYV/UYVY/RGB/RGBA
This case is for upscaling a frame with width=1
Partially fixes bug #577054.
Sebastian Dröge [Sat, 28 Mar 2009 10:27:56 +0000 (11:27 +0100)]
videoscale: Don't read after the end of a line when lineary scaling YUYV/UYVY
Partially fixes bug #577054.
Sebastian Dröge [Sat, 28 Mar 2009 09:40:43 +0000 (10:40 +0100)]
videotestsrc: Initialize buffer memory with zeroes
This prevents valgrind warnings when accessing the "x" parts
of xRGB and friends in other elements that handle (and can handle)
xRGB like ARGB (for example videoscale).
Sebastian Dröge [Sat, 28 Mar 2009 09:25:12 +0000 (10:25 +0100)]
videoscale: Add a lot of unit tests
Sebastian Dröge [Sat, 28 Mar 2009 09:06:24 +0000 (10:06 +0100)]
videocale: Add support for video/x-raw-gray with bpp=depth=8
Sebastian Dröge [Sat, 28 Mar 2009 09:01:00 +0000 (10:01 +0100)]
videotestsrc: Add support for generating video/x-raw-gray with bpp=depth=8
Sebastian Dröge [Sat, 28 Mar 2009 08:43:23 +0000 (09:43 +0100)]
ffmpegcolorspace: video/x-raw-gray is the same as the YUV Y800 format
Sebastian Dröge [Fri, 27 Mar 2009 18:12:49 +0000 (19:12 +0100)]
videoscale: Take the next luma value instead of every second next when scaling UYVY and friends