Stefan Kost [Wed, 25 Nov 2009 12:18:14 +0000 (14:18 +0200)]
docs: fix gtk-doc syntax for doc-blob start
Wim Taymans [Mon, 23 Nov 2009 10:34:07 +0000 (11:34 +0100)]
query: whitespace fixes
Wim Taymans [Mon, 23 Nov 2009 10:33:48 +0000 (11:33 +0100)]
docs: fix grammar
Jan Schmidt [Sat, 21 Nov 2009 15:37:34 +0000 (16:37 +0100)]
basesrc: Add gst_base_src_new_seamless_segment()
Merge new function from resindvd into the primary GstBaseSrc for
starting a new seamless segment.
API: gst_base_src_new_seamless_segment()
Tim-Philipp Müller [Fri, 20 Nov 2009 16:00:47 +0000 (16:00 +0000)]
bytewriter: fix compiler warning
Some gcc versions warn about bytewriter writing to memory accessed
via a const guint8 pointer, despite our explicit cast to guint8 *.
Work around that by using an intermediary variable.
Fixes #598526.
Sebastian Dröge [Fri, 20 Nov 2009 08:33:48 +0000 (09:33 +0100)]
check: Only check for gmp/gsl if building of tests is not disabled
Jan Schmidt [Thu, 19 Nov 2009 18:00:05 +0000 (19:00 +0100)]
basesink: Clamp the base time correctly in position reporting
When clamping the base time, correctly use 'now', instead of
'-now' - the intent is to prevent 'now-base' ever being
negative, which would cause a position report outside the segment.
Fixes: #602419
David Schleef [Mon, 9 Nov 2009 18:52:42 +0000 (10:52 -0800)]
gstplugin: Add C++ escape for gst_plugin_desc define
In order to properly export the gst_plugin_desc symbol
from DLLs in MSVC, it needs to be extern "C".
Tim-Philipp Müller [Thu, 19 Nov 2009 12:59:28 +0000 (12:59 +0000)]
parse/grammar.y: remove unused ERROR define
Tim-Philipp Müller [Thu, 19 Nov 2009 10:29:38 +0000 (10:29 +0000)]
Automatic update of common submodule
From
1861252 to
53a2485
Priit Laes [Mon, 16 Nov 2009 13:47:57 +0000 (15:47 +0200)]
check: fix symbol exporting when building under et_EE locale
[A-Z] regexp fails under et_EE locale because Z in Estonian alphabet is
located after S and therefore characters starting with 'TUV...' are not
in the range anymore.
Fixes bug #602093.
Sebastian Dröge [Wed, 18 Nov 2009 06:59:36 +0000 (07:59 +0100)]
basesink: Handle the new sink-message event
Sebastian Dröge [Wed, 18 Nov 2009 06:52:24 +0000 (07:52 +0100)]
event: API: Add sink-message event
gst_event_new_sink_message()
gst_event_parse_sink_message()
This event is used for sending a GstMessage downstream and synchronized
with the stream, to be posted by the sink once it reaches the sink.
Fixes bug #602275.
Tim-Philipp Müller [Mon, 16 Nov 2009 00:12:22 +0000 (00:12 +0000)]
plugin-scanner: rename plugin-scanner helper binary to gst-plugin-scanner
and install into a different directory $(libexecdir/gstreamer-0.10) so that
everything is versioned properly.
NOTE: run 'make clean' after updating; if you are running an uninstalled setup,
you will need to update your gst-uninstalled script (unless it's symlinked
to gstreamer core master) and exit/enter your uninstalled environment to get
the updated environment. If you are running an installed setup, you should
run 'make uninstall' before merging this change or remove the old
plugin-scanner binary manually.
Fixes #601698.
Tim-Philipp Müller [Wed, 18 Nov 2009 09:10:37 +0000 (09:10 +0000)]
Revert "structure: don't check type twice"
This reverts commit
f864187bf5fdfaf71f2e038949e403a42e6daf0e.
Reverting this as it changes behaviour and the documentation is
ambiguous about whether the caller must check the type first or
not (call must check type vs. returns NULL if not a string). If
GLib has been compiled with G_DISABLE_CHECKS then g_value_get_string()
may return complete garbage even if the value does not contain
a string. Better play it safe, esp. since the extra check is just
an integer comparison. For fundamental types we could return values
from the GValue structure directly if we really wanted to bypass
the extra check.
Stefan Kost [Tue, 17 Nov 2009 15:06:08 +0000 (17:06 +0200)]
structure: don't check type twice
Sebastian Dröge [Tue, 17 Nov 2009 17:35:55 +0000 (18:35 +0100)]
event: Add step event quark
Tim-Philipp Müller [Tue, 17 Nov 2009 10:02:36 +0000 (10:02 +0000)]
gst-uninstalled: add paths for gst-qa-system
Tim-Philipp Müller [Tue, 17 Nov 2009 09:06:48 +0000 (09:06 +0000)]
docs: set GST_PLUGIN_SCANNER when calling gtkdoc-scangobj
Otherwise the docs build won't work properly
Stefan Kost [Mon, 16 Nov 2009 11:58:10 +0000 (13:58 +0200)]
structure: remove some blank lines (previous gst-indent failure)
Stefan Kost [Mon, 16 Nov 2009 11:53:44 +0000 (13:53 +0200)]
structure: use local variable earlier
Stefan Kost [Mon, 16 Nov 2009 11:49:32 +0000 (13:49 +0200)]
structure: don't check enum types twice.
G_VALUE_HOLDS_ENUM(value) is defined as G_TYPE_CHECK_VALUE_TYPE (value,
G_TYPE_ENUM). Just check for the right enum-type right away.
Jan Schmidt [Sat, 14 Nov 2009 22:35:07 +0000 (22:35 +0000)]
check: Add a debug status to the systemclock test
Next time it fails on a buildbot we can see which clock id
return it is getting.
Wim Taymans [Mon, 16 Nov 2009 17:25:45 +0000 (18:25 +0100)]
TODO: remove stepping from TODO
Remove the frame stepping API from the TODO list.
Wim Taymans [Mon, 16 Nov 2009 13:02:07 +0000 (14:02 +0100)]
basesink: fix position reporting
Only update the current stream time after we checked if we got a new step
event. This improves the position reporting by the sink.
See #595958
Sebastian Dröge [Mon, 16 Nov 2009 08:49:46 +0000 (09:49 +0100)]
utils: API: Add multiplication and addition functions for fractions
gst_util_fraction_add()
gst_util_fraction_multiply()
These work on plain integers instead of GValues to
keep the overhead as low as possible.
Sebastian Dröge [Mon, 16 Nov 2009 08:29:10 +0000 (09:29 +0100)]
gstutils: API: Add fraction helper functions
gst_util_greatest_common_divisor()
gst_util_double_to_fraction()
gst_util_fraction_to_double()
Using these instead of going over GValue has much lower overhead.
Also add float<->fraction transform functions for GValue.
Stefan Kost [Fri, 13 Nov 2009 13:45:52 +0000 (15:45 +0200)]
debug: add more debug logging to help tracking parsing errors
Ole André Vadla Ravnås [Fri, 13 Nov 2009 10:42:02 +0000 (11:42 +0100)]
miniobject: avoid race when recycling buffers
Avoid a race where a miniobject is recycled and quickly freed, which causes the
g_type_free_instance() to be called on the same object twice.
Ref the object before calling the finalize method and check if we still need to
free it afterward.
Also add a unit test for this case.
Fixes #601587
Stefan Kost [Thu, 12 Nov 2009 15:02:40 +0000 (17:02 +0200)]
whitespace: remove blanks in doc-comment
Руслан Ижбулатов [Fri, 6 Nov 2009 12:42:57 +0000 (15:42 +0300)]
registry: Import _priv_gst_dll_handle into gstregistry.c
Fixes bug #601668.
Руслан Ижбулатов [Thu, 12 Nov 2009 11:10:06 +0000 (14:10 +0300)]
tests: Do not list libgstcheck as a requirement for tests/examples/manual
Fixes bug #601669.
Jan Schmidt [Wed, 11 Nov 2009 17:12:19 +0000 (17:12 +0000)]
basesink: Fix treating base_time as unsigned in position calculation
Element base_time is a signed quantity, which leads to basesink returning
a position of 0 when dealing with a negative base time - which are quite
legal when clocks (such as the audio clock) are close to 0.
This doesn't manifest in normal pipelines, of course - but can happen
(at least) when manually setting the base time on a pipeline.
Sebastian Dröge [Tue, 10 Nov 2009 17:03:43 +0000 (18:03 +0100)]
registry: API: Add gst_{default,}_registry_get_feature_list_cookie()
This returns the internal feature list cookie, which changes every
time a feature is added or removed. This can be used by elements
to check if they should update their cached feature lists.
Thiago Santos [Tue, 10 Nov 2009 14:55:34 +0000 (11:55 -0300)]
queue2: fix printf format
Cast the variable to gint to conform to the printf format used.
It is casted rather than changing the format because the
message is created with a cast to gint too.
Thiago Santos [Tue, 10 Nov 2009 13:10:56 +0000 (10:10 -0300)]
queue2: avoid crashing due to negative percent
queue2 would crash when using small buffer sizes because
it would overflow when calculating the percentage, resulting
in the buffering GstMessage not being created and trying to be
used. This patch uses a gint64 instead of a gint to do the
percentage math, making it harder to overflow.
Thiago Santos [Tue, 10 Nov 2009 12:52:30 +0000 (09:52 -0300)]
queue2: Fix small doc typo
Tim-Philipp Müller [Tue, 10 Nov 2009 00:57:00 +0000 (00:57 +0000)]
registrychunks: fix compilation with debugging disabled
Add ugly ifdef to fix unused variable warning when compiling with
debug logging disabled.
Stefan Kost [Mon, 9 Nov 2009 14:20:52 +0000 (16:20 +0200)]
planning: add thoughts about foreign registry cache updates
Stefan Kost [Mon, 9 Nov 2009 12:55:54 +0000 (14:55 +0200)]
inspect: allow to get plugin-install-info for all installed plugins
If no plugin is given, print the info for all plugins. This can be used as a
starting point to generate a profile about what the gstreamer installation can
potentialy handle (e.g. for MTP or DLNA).
Wim Taymans [Mon, 9 Nov 2009 11:42:35 +0000 (12:42 +0100)]
docs: don't forget to unref the pad
Tim-Philipp Müller [Sat, 7 Nov 2009 20:22:49 +0000 (20:22 +0000)]
gst-launch: wake up less often to check if we've been interrupted
Check if we've been interrupted only four times per second instead
of twenty times per second, to wake up the cpu less often and
save power (see bug #600922).
Tim-Philipp Müller [Thu, 5 Nov 2009 21:18:26 +0000 (21:18 +0000)]
gstconfig.h: add define to force printf format checking for debug messages
Force printf format checking for debug messages if GST_DISABLE_PRINTF_EXTENSION
is defined. This is useful to quickly check code for printf format mismatches
in debugging messages that would usually not be caught (with glibc+gcc and
printf extensions being used).
To use: make clean; make CFLAGS='-g -O2 -DGST_DISABLE_PRINTF_EXTENSION'
Edward Hervey [Thu, 5 Nov 2009 20:09:28 +0000 (21:09 +0100)]
tests: Make sure we use the local libgstbase and not a stray outside one.
Theoretically we should also do this for all local libraries to make sure
we don't test with a 'stray' outside library.
Tim-Philipp Müller [Thu, 5 Nov 2009 18:36:38 +0000 (18:36 +0000)]
docs: fix typo
Tim-Philipp Müller [Thu, 5 Nov 2009 15:59:31 +0000 (15:59 +0000)]
taglist: avoid looking up GstTagInfo twice in a row
Pass the info structure to our internal function if already available.
Also clean up warnings for unknown tags.
Edward Hervey [Thu, 5 Nov 2009 17:55:30 +0000 (18:55 +0100)]
gstregistrychunks: We're certain plugin_name is an intern string.
The only place this method is called from creates the plugin_name argument
with g_intern_string().
Shaves off 1% from registry loading.
Bastien Nocera [Wed, 4 Nov 2009 19:33:58 +0000 (19:33 +0000)]
implement buffering-left argument to buffer messages
Using the current fill level of the queue, and the average input
rate, we can determine how long it will take to finish downloading
the whole stream to the temporary file.
Fixes #600726
Wim Taymans [Thu, 5 Nov 2009 14:13:04 +0000 (15:13 +0100)]
query: whitespace fixes
Wim Taymans [Thu, 5 Nov 2009 13:02:28 +0000 (14:02 +0100)]
ghostpad: fix locking
Stefan Kost [Thu, 5 Nov 2009 12:29:50 +0000 (14:29 +0200)]
ghostpad: don't release mutex twice
Stefan Kost [Thu, 5 Nov 2009 12:29:12 +0000 (14:29 +0200)]
ghostpad: skip type check in internal api
Wim Taymans [Thu, 5 Nov 2009 11:36:10 +0000 (12:36 +0100)]
pad: indentation fix
Stefan Kost [Thu, 5 Nov 2009 10:54:32 +0000 (12:54 +0200)]
pad: rename new api from _refed to _reffed.
Due to popular demand rename the new api as we still can.
API: gst_pad_get_caps_reffed(), gst_pad_peer_get_caps_reffed()
Stefan Kost [Wed, 4 Nov 2009 20:42:52 +0000 (22:42 +0200)]
element: access padtemplate list directly to avoid call and type check.
Sebastian Dröge [Wed, 4 Nov 2009 17:58:26 +0000 (18:58 +0100)]
event: Add a FIXME 0.11 for having flush events that don't reset running time
Jan Schmidt [Wed, 4 Nov 2009 17:52:21 +0000 (17:52 +0000)]
registrychunks: Fix a printf compile warning on 64-bit platforms
Sebastian Dröge [Wed, 4 Nov 2009 16:15:59 +0000 (17:15 +0100)]
ghostpad: Make sure that nobody sets the proxypad or ghostpad itself as target
Doing this will lead to very interesting crashes, like stack overflows.
Jan Schmidt [Wed, 4 Nov 2009 11:35:46 +0000 (11:35 +0000)]
plugin loader: Don't fail after a short read/write
The logic to handle short reads/writes was incorrect, causing the
packet handler to attempt to handle incomplete packets.
Grow the packet transmit buffer in proportion to observed usage,
causing fewer reallocs.
Add some more debug in the registry chunks code.
Jan Schmidt [Wed, 4 Nov 2009 01:51:38 +0000 (01:51 +0000)]
plugin loader: Don't crash on bogus plugin details
When invalid registry chunks are received from the child, and parsing
fails, don't access an invalid plugin pointer. Instead attempt to
figure out which plugin caused the problem and blacklist it.
Jan Schmidt [Wed, 4 Nov 2009 01:54:36 +0000 (01:54 +0000)]
gst-indent: Use the same logic to find gnuindent as the git hook
Stefan Kost [Tue, 3 Nov 2009 15:30:14 +0000 (17:30 +0200)]
build: include stdio.h for FILE
Tim-Philipp Müller [Tue, 3 Nov 2009 01:18:42 +0000 (01:18 +0000)]
docs: add another example to the gst-launch man page
Add an example that shows how to refer to specific pads by name
when constructing a pipeline string. Fixes #600382.
Tim-Philipp Müller [Mon, 2 Nov 2009 08:48:51 +0000 (08:48 +0000)]
gsttypefind: avoid one more run-time type check
Sebastian Dröge [Mon, 2 Nov 2009 08:22:37 +0000 (09:22 +0100)]
structure: API: Add gst_structure_id_has_field{,_typed}
Edward Hervey [Mon, 2 Nov 2009 07:28:20 +0000 (08:28 +0100)]
gsttypefind: Use _CAST variants when the type has alredy been checked.
This avoids checking the type n_typefinders * 4 times when loading the
registry.
Sebastian Dröge [Sun, 1 Nov 2009 10:24:40 +0000 (11:24 +0100)]
ghostpad: Implement iterate internal links
The internally linked pad of the ghost pad is its
proxy pad, which is the pad that is linked to the ghost
pads target.
Sebastian Dröge [Sat, 31 Oct 2009 15:56:17 +0000 (16:56 +0100)]
parser: Make sure that signal user data is freed by setting a GClosureNotify
...instead of using a second mechanism and storing the user data
inside the GObjects qdata.
Sebastian Dröge [Sat, 31 Oct 2009 15:49:03 +0000 (16:49 +0100)]
parser: Use GSlice for allocating the structs
Sebastian Dröge [Sat, 31 Oct 2009 15:43:26 +0000 (16:43 +0100)]
parser: Always get DelayedLink information from the objects qdata
This makes sure that it is always valid.
Edward Hervey [Sat, 31 Oct 2009 08:48:19 +0000 (09:48 +0100)]
po: queue2 has moved to core
Sebastian Dröge [Thu, 29 Oct 2009 10:41:33 +0000 (11:41 +0100)]
queue2: Add to the docs
Sebastian Dröge [Thu, 29 Oct 2009 10:38:21 +0000 (11:38 +0100)]
queue2: Use "Queue 2" as long name
Sebastian Dröge [Thu, 29 Oct 2009 10:35:08 +0000 (11:35 +0100)]
queue2: Use GST_BOILERPLATE_FULL() and add pad templates/set details in base_init
Sebastian Dröge [Thu, 29 Oct 2009 10:30:57 +0000 (11:30 +0100)]
queue2: Use gst_element_class_set_details_simple()
Sebastian Dröge [Thu, 29 Oct 2009 10:30:11 +0000 (11:30 +0100)]
queue2: Integrate into coreplugins
Sebastian Dröge [Thu, 29 Oct 2009 10:21:36 +0000 (11:21 +0100)]
queue2: Move struct declarations to a separate header
Sebastian Dröge [Thu, 29 Oct 2009 10:18:20 +0000 (11:18 +0100)]
queue2: Move queue2 to gstreamer coreplugins
Fixes bug #599996.
Tim-Philipp Müller [Wed, 28 Oct 2009 00:59:35 +0000 (00:59 +0000)]
Remove GST_DEBUG_FUNCPTR where they're pointless
There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
Wim Taymans [Tue, 27 Oct 2009 14:23:00 +0000 (15:23 +0100)]
queue2: add custom acceptcaps function
Mark Nauwelaerts [Thu, 6 Aug 2009 10:18:36 +0000 (12:18 +0200)]
queue2: post error message when pausing task if so appropriate
If a downstream element returns an error while upstream has already
put all data into queue2 (including EOS), upstream will no longer
chain into queue2, so it is up to queue2 to perform some
EOS handling / message posting in such cases. See #589991.
Wim Taymans [Tue, 14 Jul 2009 15:03:35 +0000 (17:03 +0200)]
queue2: fix leak and improve buffering
Keep track of the max requested position and compare this to the write position
in the temp file to get the current amount of buffered data.
Fix memleak of all incomming buffers.
Fixes #588551
Wim Taymans [Fri, 10 Jul 2009 20:01:39 +0000 (21:01 +0100)]
queue2: flush differently, avoiding deadlocks
Don't flush the file by closing and opening it but instead use g_freopen. This
avoids a deadlock in shutdown because we emit the temp-location property change
with the wrong lock held.
Wim Taymans [Fri, 10 Jul 2009 18:49:46 +0000 (19:49 +0100)]
queue2: add temp-template property
Add a new temp-template property so that queue2 can securely allocate a
temporary filename. Deprecate the temp-location property for setting the
location but still use it to notify the allocated temp file.
LRN [Fri, 20 Mar 2009 13:17:19 +0000 (14:17 +0100)]
win32: fix seeking in large files
Fix Seeking in large files by using the 64-bit seek functions.
Fixes #576019
Frederic Crozat [Thu, 7 Aug 2008 15:58:58 +0000 (15:58 +0000)]
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* ext/alsa/gstalsaplugin.c: (plugin_init):
* ext/cdparanoia/gstcdparanoiasrc.c: (plugin_init):
* ext/gnomevfs/gstgnomevfs.c: (plugin_init):
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_plugin_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c: (_do_init):
* gst-libs/gst/pbutils/pbutils.c: (gst_pb_utils_init):
* gst-libs/gst/tag/tags.c: (gst_tag_register_tags_internal):
* gst/playback/gstdecodebin.c: (plugin_init):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_plugin_init):
* gst/playback/gstplayback.c: (plugin_init):
* gst/playback/gstqueue2.c: (plugin_init):
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_plugin_init):
* sys/v4l/gstv4l.c: (plugin_init):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).
Stefan Kost [Thu, 10 Jul 2008 21:06:06 +0000 (21:06 +0000)]
Cleanup Plugin docs. Link to signals and properties. Fix sub-section titles. Drop mentining that all our example pipe...
Original commit message from CVS:
* docs/plugins/gst-plugins-base-plugins-docs.sgml:
* docs/plugins/gst-plugins-base-plugins-overrides.txt:
* docs/plugins/gst-plugins-base-plugins-sections.txt:
* docs/plugins/gst-plugins-base-plugins.args:
* docs/plugins/gst-plugins-base-plugins.hierarchy:
* docs/plugins/gst-plugins-base-plugins.interfaces:
* docs/plugins/gst-plugins-base-plugins.prerequisites:
* docs/plugins/gst-plugins-base-plugins.signals:
* docs/plugins/inspect/plugin-adder.xml:
* docs/plugins/inspect/plugin-alsa.xml:
* docs/plugins/inspect/plugin-audioconvert.xml:
* docs/plugins/inspect/plugin-audiorate.xml:
* docs/plugins/inspect/plugin-audioresample.xml:
* docs/plugins/inspect/plugin-audiotestsrc.xml:
* docs/plugins/inspect/plugin-cdparanoia.xml:
* docs/plugins/inspect/plugin-decodebin.xml:
* docs/plugins/inspect/plugin-ffmpegcolorspace.xml:
* docs/plugins/inspect/plugin-gdp.xml:
* docs/plugins/inspect/plugin-gnomevfs.xml:
* docs/plugins/inspect/plugin-libvisual.xml:
* docs/plugins/inspect/plugin-ogg.xml:
* docs/plugins/inspect/plugin-pango.xml:
* docs/plugins/inspect/plugin-playback.xml:
* docs/plugins/inspect/plugin-queue2.xml:
* docs/plugins/inspect/plugin-subparse.xml:
* docs/plugins/inspect/plugin-tcp.xml:
* docs/plugins/inspect/plugin-theora.xml:
* docs/plugins/inspect/plugin-typefindfunctions.xml:
* docs/plugins/inspect/plugin-uridecodebin.xml:
* docs/plugins/inspect/plugin-video4linux.xml:
* docs/plugins/inspect/plugin-videorate.xml:
* docs/plugins/inspect/plugin-videoscale.xml:
* docs/plugins/inspect/plugin-videotestsrc.xml:
* docs/plugins/inspect/plugin-volume.xml:
* docs/plugins/inspect/plugin-vorbis.xml:
* docs/plugins/inspect/plugin-ximagesink.xml:
* docs/plugins/inspect/plugin-xvimagesink.xml:
* ext/alsa/gstalsamixer.c:
* ext/alsa/gstalsasink.c:
* ext/alsa/gstalsasrc.c:
* ext/gio/gstgiosink.c:
* ext/gio/gstgiosrc.c:
* ext/gio/gstgiostreamsink.c:
* ext/gio/gstgiostreamsrc.c:
* ext/gnomevfs/gstgnomevfssink.c:
* ext/gnomevfs/gstgnomevfssrc.c:
* ext/ogg/gstoggdemux.c:
* ext/ogg/gstoggmux.c:
* ext/pango/gstclockoverlay.c:
* ext/pango/gsttextoverlay.c:
* ext/pango/gsttextrender.c:
* ext/pango/gsttimeoverlay.c:
* ext/theora/theoradec.c:
* ext/theora/theoraenc.c:
* ext/theora/theoraparse.c:
* ext/vorbis/vorbisdec.c:
* ext/vorbis/vorbisenc.c:
* ext/vorbis/vorbisparse.c:
* ext/vorbis/vorbistag.c:
* gst/adder/gstadder.c:
* gst/audioconvert/gstaudioconvert.c:
* gst/audioresample/gstaudioresample.c:
* gst/audiotestsrc/gstaudiotestsrc.c:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* gst/playback/gstdecodebin2.c:
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c:
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c:
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gsttcpserversink.c:
* gst/videorate/gstvideorate.c:
* gst/videoscale/gstvideoscale.c:
* gst/videotestsrc/gstvideotestsrc.c:
* gst/volume/gstvolume.c:
* sys/ximage/ximagesink.c:
* sys/xvimage/xvimagesink.c:
Cleanup Plugin docs. Link to signals and properties. Fix sub-section
titles. Drop mentining that all our example pipelines are "simple"
pipelines.
Stefan Kost [Tue, 24 Jun 2008 16:22:45 +0000 (16:22 +0000)]
gst/playback/gstqueue2.c: Do not double notify. Remove the unsued return value.
Original commit message from CVS:
* gst/playback/gstqueue2.c:
Do not double notify. Remove the unsued return value.
Wim Taymans [Fri, 11 Apr 2008 01:25:01 +0000 (01:25 +0000)]
docs/design/draft-keyframe-force.txt: Fix typo.
Original commit message from CVS:
* docs/design/draft-keyframe-force.txt:
Fix typo.
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_handle_src_query):
Set buffering mode in the messages.
Set buffering percent in the query.
* tests/examples/seek/seek.c: (update_fill), (msg_state_changed),
(do_stream_buffering), (do_download_buffering), (msg_buffering):
Do some more fancy things based on the buffering method in use.
Wim Taymans [Wed, 9 Apr 2008 21:40:17 +0000 (21:40 +0000)]
gst/playback/gstqueue2.c: Include extra buffering stats in the buffering message.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_buffering),
(gst_queue_close_temp_location_file), (gst_queue_handle_src_query),
(gst_queue_src_checkgetrange_function):
Include extra buffering stats in the buffering message.
Implement BUFFERING query.
* gst/playback/gsturidecodebin.c: (do_async_start),
(do_async_done), (type_found), (setup_streaming), (setup_source),
(gst_uri_decode_bin_change_state):
Only add decodebin2 when the type is found in streaming mode.
Make uridecodebin async to PAUSED even when we don't have decodebin2
added yet.
Wim Taymans [Wed, 2 Apr 2008 11:08:05 +0000 (11:08 +0000)]
gst/playback/gstqueue2.c: Update the estimated input data when we push out a buffer.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (update_out_rates),
(gst_queue_open_temp_location_file),
(gst_queue_close_temp_location_file), (gst_queue_handle_src_event),
(gst_queue_handle_src_query), (gst_queue_set_property):
Update the estimated input data when we push out a buffer.
Add some debug info about the temp file.
Only forward src events when we are not using a temp file.
Don't block the duration query, we need to find something better.
Don't leak the temp filename.
Wim Taymans [Mon, 24 Mar 2008 14:08:22 +0000 (14:08 +0000)]
gst/playback/gstqueue2.c: The queue is never filled when there are no buffers in the queue at all.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_is_filled):
The queue is never filled when there are no buffers in the queue at all.
Fixes #523993.
Sebastian Dröge [Sat, 22 Mar 2008 15:00:53 +0000 (15:00 +0000)]
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use static strings (i.e. all). This gives us less memory u...
Original commit message from CVS:
* configure.ac:
* ext/alsa/gstalsamixerelement.c:
(gst_alsa_mixer_element_class_init):
* ext/alsa/gstalsasink.c: (gst_alsasink_class_init):
* ext/alsa/gstalsasrc.c: (gst_alsasrc_class_init):
* ext/cdparanoia/gstcdparanoiasrc.c:
(gst_cd_paranoia_src_class_init):
* ext/gio/gstgiosink.c: (gst_gio_sink_class_init):
* ext/gio/gstgiosrc.c: (gst_gio_src_class_init):
* ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_class_init):
* ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_class_init):
* ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_class_init):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_class_init):
* ext/ogg/gstoggmux.c: (gst_ogg_mux_class_init):
* ext/pango/gsttextoverlay.c: (gst_text_overlay_class_init):
* ext/pango/gsttextrender.c: (gst_text_render_class_init):
* ext/theora/theoradec.c: (gst_theora_dec_class_init):
* ext/theora/theoraenc.c: (gst_theora_enc_class_init):
* ext/theora/theoraparse.c: (gst_theora_parse_class_init):
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_class_init):
* gst-libs/gst/audio/gstaudiofiltertemplate.c:
(gst_audio_filter_template_class_init):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init):
* gst-libs/gst/audio/gstbaseaudiosrc.c:
(gst_base_audio_src_class_init):
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_class_init):
* gst-libs/gst/interfaces/mixertrack.c:
(gst_mixer_track_class_init):
* gst-libs/gst/rtp/gstbasertpdepayload.c:
(gst_base_rtp_depayload_class_init):
* gst-libs/gst/rtp/gstbasertppayload.c:
(gst_basertppayload_class_init):
* gst/audioconvert/gstaudioconvert.c:
(gst_audio_convert_class_init):
* gst/audiorate/gstaudiorate.c: (gst_audio_rate_class_init):
* gst/audioresample/gstaudioresample.c:
(gst_audioresample_class_init):
* gst/audiotestsrc/gstaudiotestsrc.c:
(gst_audio_test_src_class_init):
* gst/gdp/gstgdppay.c: (gst_gdp_pay_class_init):
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init):
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(preroll_unlinked):
* gst/playback/gstplaybin.c: (gst_play_bin_class_init):
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init):
* gst/playback/gstplaysink.c: (gst_play_sink_class_init):
* gst/playback/gstqueue2.c: (gst_queue_class_init):
* gst/playback/gststreaminfo.c: (gst_stream_info_class_init):
* gst/playback/gststreamselector.c: (gst_selector_pad_class_init),
(gst_stream_selector_class_init):
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init):
* gst/subparse/gstsubparse.c: (gst_sub_parse_class_init):
* gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
* gst/tcp/gsttcpclientsink.c: (gst_tcp_client_sink_class_init):
* gst/tcp/gsttcpclientsrc.c: (gst_tcp_client_src_class_init):
* gst/tcp/gsttcpserversink.c: (gst_tcp_server_sink_class_init):
* gst/tcp/gsttcpserversrc.c: (gst_tcp_server_src_class_init):
* gst/videorate/gstvideorate.c: (gst_video_rate_class_init):
* gst/videoscale/gstvideoscale.c: (gst_video_scale_class_init):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_video_test_src_class_init):
* gst/volume/gstvolume.c: (gst_volume_class_init):
* sys/v4l/gstv4lelement.c: (gst_v4lelement_class_init):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_class_init):
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_class_init):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_class_init):
* sys/ximage/ximagesink.c: (gst_ximagesink_class_init):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_class_init):
Use G_PARAM_STATIC_STRINGS everywhere for GParamSpecs that use
static strings (i.e. all). This gives us less memory usage,
fewer allocations and thus less memory defragmentation. Depend
on core CVS for this. Fixes bug #523806.
Wim Taymans [Fri, 14 Dec 2007 18:46:12 +0000 (18:46 +0000)]
gst/playback/gstqueue2.c: Use separate timers for input and output rates.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_finalize),
(reset_rate_timer), (update_in_rates), (update_out_rates),
(gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
(gst_queue_chain), (gst_queue_loop):
Use separate timers for input and output rates.
Pause measuring the output rate when we block for more data.
See #503262.
Wim Taymans [Fri, 14 Dec 2007 09:24:55 +0000 (09:24 +0000)]
gst/playback/gstqueue2.c: Pause the timer to measure the input rate when we block because the queue is filled. See #5...
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_chain):
Pause the timer to measure the input rate when we block because the
queue is filled. See #503262.
Wim Taymans [Fri, 30 Nov 2007 17:47:15 +0000 (17:47 +0000)]
gst/playback/: Refactor some common code to filter factories and check caps compat.
Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstfactorylists.c: (compare_ranks), (print_feature),
(get_feature_array), (decoders_filter), (sinks_filter),
(gst_factory_list_get_decoders), (gst_factory_list_get_sinks),
(gst_factory_list_filter):
* gst/playback/gstfactorylists.h:
Refactor some common code to filter factories and check caps compat.
* gst/playback/gstdecodebin.c:
* gst/playback/gstdecodebin2.c: (gst_decode_bin_class_init),
(gst_decode_bin_init), (gst_decode_bin_dispose),
(gst_decode_bin_autoplug_continue),
(gst_decode_bin_autoplug_factories),
(gst_decode_bin_autoplug_select), (analyze_new_pad),
(find_compatibles):
* gst/playback/gstplaybin.c:
* gst/playback/gstplaybin2.c: (gst_play_bin_class_init),
(gst_play_bin_init), (gst_play_bin_finalize),
(autoplug_factories_cb), (activate_group):
* gst/playback/gstqueue2.c:
* gst/playback/gsturidecodebin.c: (proxy_unknown_type_signal),
(proxy_autoplug_continue_signal),
(proxy_autoplug_factories_signal), (proxy_autoplug_select_signal),
(proxy_drained_signal):
Add some more debug info and use factor filtering code.
Wim Taymans [Fri, 16 Nov 2007 15:44:48 +0000 (15:44 +0000)]
gst/playback/: Add playbin2.
Original commit message from CVS:
* gst/playback/Makefile.am:
* gst/playback/gstplayback.c: (plugin_init):
* gst/playback/test7.c: (update_scale), (warning_cb), (error_cb),
(eos_cb), (about_to_finish_cb), (main):
Add playbin2.
Added gapless playback example.
* gst/playback/gstplaybasebin.c:
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_plugin_init):
* gst/playback/gstqueue2.c:
* gst/playback/test.c:
* gst/playback/gsturidecodebin.c: (gst_uri_decode_bin_class_init),
(pad_removed_cb):
* gst/playback/gststreaminfo.h:
Change email.
* gst/playback/gstplaybin2.c: (gst_play_bin_get_type),
(gst_play_bin_class_init), (init_group), (gst_play_bin_init),
(gst_play_bin_dispose), (gst_play_bin_set_uri),
(gst_play_bin_set_suburi), (gst_play_bin_set_property),
(gst_play_bin_get_property), (gst_play_bin_handle_message),
(pad_added_cb), (pad_removed_cb), (no_more_pads_cb), (perform_eos),
(drained_cb), (unlink_group), (activate_group),
(setup_next_source), (gst_play_bin_change_state),
(gst_play_bin2_plugin_init):
Added raw first version of playbin2. Does chained oggs and gapless
playback fine. No support for raw sinks yet. No visualisations or
subtitles yet.
* gst/playback/gstplaysink.c: (gst_play_sink_get_type),
(gst_play_sink_class_init), (gst_play_sink_init),
(gst_play_sink_dispose), (gst_play_sink_vis_unblocked),
(gst_play_sink_vis_blocked), (gst_play_sink_set_video_sink),
(gst_play_sink_set_audio_sink), (gst_play_sink_set_vis_plugin),
(gst_play_sink_set_property), (gst_play_sink_get_property),
(post_missing_element_message), (free_chain), (add_chain),
(activate_chain), (gen_video_chain), (gen_text_element),
(gen_audio_chain), (gen_vis_element), (gst_play_sink_get_mode),
(gst_play_sink_set_mode), (gst_play_sink_request_pad),
(gst_play_sink_release_pad), (gst_play_sink_send_event_to_sink),
(gst_play_sink_send_event), (gst_play_sink_change_state):
* gst/playback/gstplaysink.h:
Added Element that abstracts the sinks and their pipelines for playbin2.
Wim Taymans [Mon, 15 Oct 2007 11:38:39 +0000 (11:38 +0000)]
gst/playback/gstqueue2.c: Fix queue negotiation. See #486758.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_init), (gst_queue_push_one):
Fix queue negotiation. See #486758.
Wim Taymans [Fri, 21 Sep 2007 14:37:26 +0000 (14:37 +0000)]
gst/playback/gstqueue2.c: Fix compilation wrt printf arguments.
Original commit message from CVS:
* gst/playback/gstqueue2.c: (gst_queue_push_one):
Fix compilation wrt printf arguments.
Jan Schmidt [Mon, 17 Sep 2007 17:24:55 +0000 (17:24 +0000)]
Fix a bunch of compile warnings shown with Forte.
Original commit message from CVS:
* ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
(gst_text_overlay_set_property):
* ext/vorbis/vorbisdec.c: (vorbis_handle_data_packet):
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_render):
* gst-libs/gst/rtp/gstrtcpbuffer.c: (gst_rtcp_ntp_to_unix),
(gst_rtcp_unix_to_ntp):
* gst-libs/gst/rtsp/gstrtspmessage.c: (gst_rtsp_message_get_type):
* gst/playback/gstqueue2.c:
* tests/examples/seek/seek.c: (set_scale):
Fix a bunch of compile warnings shown with Forte.
* gst/audiorate/gstaudiorate.c:
Always pull in config.h before including any system headers.