Tim-Philipp Müller [Mon, 27 Feb 2006 11:01:06 +0000 (11:01 +0000)]
gst/gstcaps.c: Use the REFCOUNTING category for caps refcounting.
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
Use the REFCOUNTING category for caps refcounting.
Tim-Philipp Müller [Sun, 26 Feb 2006 19:20:51 +0000 (19:20 +0000)]
plugins/elements/gsttypefindelement.c: This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (stop_typefinding):
This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
Tim-Philipp Müller [Sun, 26 Feb 2006 14:42:29 +0000 (14:42 +0000)]
plugins/elements/gsttypefindelement.c: Use gst_pad_check_pull_range() before _activate_pull() to avoid unnecessary op...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Use gst_pad_check_pull_range() before _activate_pull()
to avoid unnecessary open/close (see #331690).
Tim-Philipp Müller [Fri, 24 Feb 2006 16:54:27 +0000 (16:54 +0000)]
gst/gstutils.c: Docs enhancement: make it crystal clear what the gst_pad_add_*_probe() callbacks should look like.
Original commit message from CVS:
* gst/gstutils.c:
Docs enhancement: make it crystal clear what the
gst_pad_add_*_probe() callbacks should look like.
Tim-Philipp Müller [Fri, 24 Feb 2006 10:57:42 +0000 (10:57 +0000)]
libs/gst/base/gstbasesrc.c: Document how applications can stop recording from live sources (see #330996).
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Document how applications can stop recording from
live sources (see #330996).
Tim-Philipp Müller [Thu, 23 Feb 2006 18:06:31 +0000 (18:06 +0000)]
Ignore more stuff.
Original commit message from CVS:
* docs/gst/tmpl/.cvsignore:
* docs/plugins/tmpl/.cvsignore:
* tests/check/gst/.cvsignore:
* tests/check/libs/.cvsignore:
* tests/check/pipelines/.cvsignore:
Ignore more stuff.
Tim-Philipp Müller [Thu, 23 Feb 2006 17:39:20 +0000 (17:39 +0000)]
tests/check/: ... and add some tests for the base source EOS stuff.
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/libs/basesrc.c: (eos_event_counter),
(basesrc_eos_events_pull), (basesrc_eos_events_push),
(basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
(gst_basesrc_suite), (main):
... and add some tests for the base source EOS stuff.
Tim-Philipp Müller [Thu, 23 Feb 2006 16:56:18 +0000 (16:56 +0000)]
tests/check/gst/gstutils.c: Test case originally showed the problem fixed below, but was then amended. Add checks bac...
Original commit message from CVS:
* tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
Test case originally showed the problem fixed below,
but was then amended. Add checks back at the place
where they used to be.
Tim-Philipp Müller [Thu, 23 Feb 2006 16:24:36 +0000 (16:24 +0000)]
libs/gst/base/gstbasesrc.*: Don't unconditionally send EOS when going from PAUSED to
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_init), (gst_base_src_loop),
(gst_base_src_activate_push), (gst_base_src_activate_pull),
(gst_base_src_change_state):
* libs/gst/base/gstbasesrc.h:
Don't unconditionally send EOS when going from PAUSED to
READY state, esp. make sure we don't send two EOS events
in some cases (e.g. one when reaching EOS and one when
going from PAUSED to READY). Also, we don't want to send
EOS events when operating in pull mode. However, we do
want to send an EOS event when shutting down a live
source explicitly, for example (fixes #330996).
Renchi Raju [Thu, 23 Feb 2006 10:24:13 +0000 (10:24 +0000)]
plugins/elements/gstfilesrc.c: Update src->read_position after a seek when not using mmap.
Original commit message from CVS:
* plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
Update src->read_position after a seek when not using mmap.
Fixes #332277, patch by: Renchi Raju <renchi gmail com>
Jan Schmidt [Mon, 20 Feb 2006 23:34:40 +0000 (23:34 +0000)]
gst/: Make things work with --disable-parse as they do with
Original commit message from CVS:
* gst/Makefile.am:
* gst/gstparse.h:
* gst/gstutils.c:
* gst/gstutils.h:
Make things work with --disable-parse as they do with
--disable-load-save - the symbols involved disappear, but the
header is still installed and GST_DISABLE_PARSE is included via
gstconfig.h
Julien Moutte [Mon, 20 Feb 2006 16:07:42 +0000 (16:07 +0000)]
libs/gst/base/gstbasetransform.c: Fix a stupid bug. I was sure i compiled that.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_change_state): Fix a stupid bug. I was
sure i compiled that.
------------------------------------------------------
Julien Moutte [Mon, 20 Feb 2006 15:07:33 +0000 (15:07 +0000)]
gst/: Make those function act on the ghostpad target when it's a ghostpad. (Closes #331727)
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_blocked_async):
* gst/gstutils.c: (gst_pad_add_data_probe),
(gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
(gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
(gst_pad_remove_buffer_probe): Make those function act on the
ghostpad target when it's a ghostpad. (Closes #331727)
------------------------------------------------------
Julien Moutte [Mon, 20 Feb 2006 15:01:14 +0000 (15:01 +0000)]
libs/gst/base/gstbasetransform.c: Make basetransform reusable. (Closes #331898)
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_change_state): Make basetransform reusable.
(Closes #331898)
------------------------------------------------------
Jan Schmidt [Mon, 20 Feb 2006 12:26:50 +0000 (12:26 +0000)]
docs/random/release: Move the current documentation of how to do a release to the top of the file.
Original commit message from CVS:
* docs/random/release:
Move the current documentation of how to do a release to the top
of the file.
* gst/gstbin.c: (gst_bin_class_init),
(gst_bin_handle_message_func):
Allow multiple state-recalculation threads. (Closes #328873)
Julien Moutte [Sun, 19 Feb 2006 12:25:01 +0000 (12:25 +0000)]
gst/gstinfo.h: Add GST_STR_NULL to the second string.
Original commit message from CVS:
2006-02-19 Julien MOUTTE <julien@moutte.net>
* gst/gstinfo.h: Add GST_STR_NULL to the second string.
* gst/gstpad.c: (gst_pad_set_event_function),
(gst_pad_set_query_function), (gst_pad_set_query_type_function),
(gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2 strings. You can't use the STR_NULL macro on that.
Sébastien Moutte [Sun, 19 Feb 2006 12:00:38 +0000 (12:00 +0000)]
gst/gstpad.c: (gst_pad_set_getcaps_function)
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_event_function),
(gst_pad_set_query_function), (gst_pad_set_query_type_function),
(gst_pad_set_getcaps_function)
* gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
So now, we can use --gst-debug-level=5 on Windows
* win32/common/libgstcontroller.def:
Added export of gst_controller_init
* win32/vs6/libgstcontroller.dsp:
Fixed Release post build configuration
Wim Taymans [Fri, 17 Feb 2006 15:25:39 +0000 (15:25 +0000)]
tests/check/gst/gstquery.c: Added another check.
Original commit message from CVS:
* tests/check/gst/gstquery.c: (GST_START_TEST):
Added another check.
Tim-Philipp Müller [Wed, 15 Feb 2006 12:17:50 +0000 (12:17 +0000)]
plugins/elements/gsttypefindelement.c: We can do peeks at non-zero offsets, as long as they fall within the buffer we...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c: (find_peek):
We can do peeks at non-zero offsets, as long as they
fall within the buffer we have.
Jan Schmidt [Wed, 15 Feb 2006 01:02:11 +0000 (01:02 +0000)]
tests/check/: Add testsuite for parse launch syntax
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/pipelines/parse-launch.c: (setup_pipeline),
(expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
(parse_suite), (main):
Add testsuite for parse launch syntax
Tim-Philipp Müller [Tue, 14 Feb 2006 20:57:31 +0000 (20:57 +0000)]
plugins/elements/gsttypefindelement.c: When typefinding is unsuccessful in the chain function, don't error out immedi...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_chain):
When typefinding is unsuccessful in the chain function, don't
error out immediately. Only error out with NO_CAPS_FOUND if
the amount of data is at least MAX_TYPEFIND_SIZE bytes,
otherwise simply wait for more data so we can try typefinding
again with more data later. Also, don't attempt to typefind
if we have less than MIN_TYPEFIND_SIZE data available. Overall,
this should improve typefinding from network sources where the
size of the first buffer can be somewhat random.
Wim Taymans [Tue, 14 Feb 2006 18:26:19 +0000 (18:26 +0000)]
Fix padtemplate docs, fixes #328805.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstpadtemplate.c:
* gst/gstpadtemplate.h:
Fix padtemplate docs, fixes #328805.
Wim Taymans [Tue, 14 Feb 2006 17:25:11 +0000 (17:25 +0000)]
tools/gst-launch.c: NO_PREROLL is not an ERROR so don't send confusing messages to the user.
Original commit message from CVS:
* tools/gst-launch.c: (main):
NO_PREROLL is not an ERROR so don't send confusing messages
to the user.
Torsten Schoenfeld [Tue, 14 Feb 2006 16:15:05 +0000 (16:15 +0000)]
gst/gstregistry.c: Protect default registry with lock and ref/sink it.
Original commit message from CVS:
* gst/gstregistry.c: (gst_registry_get_default),
(_gst_registry_cleanup):
Protect default registry with lock and ref/sink it.
Fixes #324818, patch by Torsten Schoenfeld.
Wim Taymans [Tue, 14 Feb 2006 13:07:10 +0000 (13:07 +0000)]
Docs fixes.
Original commit message from CVS:
* gst/gstbuffer.c:
* gst/gstquery.c: (gst_query_list_add_format),
(gst_query_set_formatsv), (gst_query_parse_formats_length),
(gst_query_parse_formats_nth):
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
Docs fixes.
Wim Taymans [Tue, 14 Feb 2006 12:07:16 +0000 (12:07 +0000)]
docs/gst/gstreamer-sections.txt: Reworked query docs.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Reworked query docs.
* gst/gstquery.c: (gst_query_new_formats),
(gst_query_list_add_format), (gst_query_set_formats),
(gst_query_set_formatsv), (gst_query_parse_formats_length),
(gst_query_parse_formats_nth):
* gst/gstquery.h:
Flesh out formats query, added some new methods.
Fix part of #324398.
* tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
Added query creation tests.
Jan Schmidt [Tue, 14 Feb 2006 11:38:50 +0000 (11:38 +0000)]
gst/gstpad.c: Add a default fixation for fraction lists.
Original commit message from CVS:
* gst/gstpad.c: (fixate_value):
Add a default fixation for fraction lists.
Wim Taymans [Mon, 13 Feb 2006 17:03:23 +0000 (17:03 +0000)]
gst/gsttask.*: Detect and warn for obvious deadlocks. fixes #320340
Original commit message from CVS:
* gst/gsttask.c: (gst_task_init), (gst_task_func),
(gst_task_set_lock), (gst_task_start), (gst_task_pause),
(gst_task_join):
* gst/gsttask.h:
Detect and warn for obvious deadlocks. fixes #320340
Fix error case where lock was not released.
* tests/check/Makefile.am:
* tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
(task_func), (gst_element_suite), (main):
Add task check.
Wim Taymans [Mon, 13 Feb 2006 14:00:33 +0000 (14:00 +0000)]
Forgot changelog
Original commit message from CVS:
Forgot changelog
Wim Taymans [Mon, 13 Feb 2006 13:57:29 +0000 (13:57 +0000)]
Add new functions to docs.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbus.c:
Add new functions to docs.
Wim Taymans [Mon, 13 Feb 2006 11:52:43 +0000 (11:52 +0000)]
docs/design/part-TODO.txt: Updated TODO list, basesrc supports seeking to non-bytes formats.
Original commit message from CVS:
* docs/design/part-TODO.txt:
Updated TODO list, basesrc supports seeking to non-bytes
formats.
* docs/design/part-element-sink.txt:
Update docs.
* gst/gstbin.c: (bin_replace_message),
(gst_bin_handle_message_func):
* gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
* gst/gstevent.c: (gst_event_finalize):
* gst/gstpad.c: (gst_pad_event_default_dispatch),
(gst_pad_send_event):
Use shiny new _TYPE_NAME macros.
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Move debug statement up.
* gst/gstelement.c: (gst_element_set_locked_state):
Add some debugging.
Tim-Philipp Müller [Mon, 13 Feb 2006 11:19:32 +0000 (11:19 +0000)]
New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME macros (#330906). Also, document the already existing
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.h:
* gst/gstquery.h:
New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
macros (#330906). Also, document the already existing
GST_QUERY_TYPE macro.
Wim Taymans [Mon, 13 Feb 2006 10:54:03 +0000 (10:54 +0000)]
tests/check/gst/gstutils.c: Only events up to the pipeline EOS are counted, there are some more when going to NULL cu...
Original commit message from CVS:
* tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
(event_probe), (GST_START_TEST):
Only events up to the pipeline EOS are counted, there are
some more when going to NULL currently which we don't care
about for now.
Wim Taymans [Mon, 13 Feb 2006 09:59:03 +0000 (09:59 +0000)]
gst/gstpad.c: Correctly check flushing and emit probes. fixes #330125
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_send_event):
Correctly check flushing and emit probes. fixes #330125
Thomas Vander Stichele [Sun, 12 Feb 2006 13:11:53 +0000 (13:11 +0000)]
revert wrong commit
Original commit message from CVS:
revert wrong commit
Andy Wingo [Fri, 10 Feb 2006 16:04:59 +0000 (16:04 +0000)]
gst/gstbus.c (gst_bus_class_init): Declare our private data structure.
Original commit message from CVS:
2006-02-10 Andy Wingo <wingo@pobox.com>
* gst/gstbus.c (gst_bus_class_init): Declare our private data
structure.
(gst_bus_init): Cache the location of the private data in the
instance structure.
(gst_bus_enable_sync_message_emission)
(gst_bus_disable_sync_message_emission): Implement new public
functions.
(gst_bus_post): Emit the sync-message signal if the user asked for
it. Fixes #330684.
* gst/gstbus.h (GstBus): Use a padding pointer to cache the
location of the bus-private structuure.
(gst_bus_enable_sync_message_emission)
(gst_bus_disable_sync_message_emission): New public functions.
Vincent Torri [Thu, 9 Feb 2006 23:40:43 +0000 (23:40 +0000)]
docs/pwg/building-boiler.xml:
Original commit message from CVS:
* docs/pwg/building-boiler.xml:
PWG patch from #326800 (Patch by Vincent Torri)
Tim-Philipp Müller [Thu, 9 Feb 2006 18:30:51 +0000 (18:30 +0000)]
ChangeLog surgery and add missing new file
Original commit message from CVS:
ChangeLog surgery and add missing new file
Tim-Philipp Müller [Thu, 9 Feb 2006 18:28:33 +0000 (18:28 +0000)]
docs/design/Makefile.am
Original commit message from CVS:
* configure.ac:
* docs/Makefile.am:
* docs/design/Makefile.am
Dist design docs.
Jan Schmidt [Wed, 8 Feb 2006 17:34:43 +0000 (17:34 +0000)]
configure.ac: back to CVS
Original commit message from CVS:
* configure.ac:
back to CVS
Jan Schmidt [Wed, 8 Feb 2006 17:31:34 +0000 (17:31 +0000)]
configure.ac: releasing 0.10.3, "Like a virgin"
Original commit message from CVS:
=== release 0.10.3 ===
2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
releasing 0.10.3, "Like a virgin"
Jan Schmidt [Wed, 8 Feb 2006 11:12:07 +0000 (11:12 +0000)]
configure.ac: 2nd prerelease of 0.10.3
Original commit message from CVS:
2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac:
2nd prerelease of 0.10.3
Bump libtool versioning.
Andy Wingo [Tue, 7 Feb 2006 15:49:40 +0000 (15:49 +0000)]
libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only update last_stop if we're in TIME format and the timest...
Original commit message from CVS:
2006-02-07 Andy Wingo <wingo@pobox.com>
* libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
update last_stop if we're in TIME format and the timestamp is
valid.
* libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
* libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
* libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
If we get a new newsegment with a different format, adapt
accordingly.
* gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
of 0. Not a problem, really.
Andy Wingo [Tue, 7 Feb 2006 13:20:16 +0000 (13:20 +0000)]
libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only warn if sync=true.
Original commit message from CVS:
2006-02-07 Andy Wingo <wingo@pobox.com>
* libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
warn if sync=true.
Christian Schaller [Tue, 7 Feb 2006 10:51:24 +0000 (10:51 +0000)]
update spec file
Original commit message from CVS:
update spec file
Jan Schmidt [Mon, 6 Feb 2006 22:01:23 +0000 (22:01 +0000)]
configure.ac: Prelease of 0.10.3
Original commit message from CVS:
* configure.ac:
Prelease of 0.10.3
Jan Schmidt [Mon, 6 Feb 2006 21:53:05 +0000 (21:53 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Sébastien Moutte [Mon, 6 Feb 2006 21:29:04 +0000 (21:29 +0000)]
win32/vs7: project files updated to the default vs7 configuration
Original commit message from CVS:
* win32/vs7:
project files updated to the default vs7 configuration
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
added new symbols,
removed empty lines,
sorted all exported symbols alphabetically
* win32/common/dirent.c:
* win32/common/dirent.h:
* win32/common/gchar.h:
use windows line end.
Thomas Vander Stichele [Mon, 6 Feb 2006 15:25:26 +0000 (15:25 +0000)]
doc sub80 fixes
Original commit message from CVS:
doc sub80 fixes
Tim-Philipp Müller [Mon, 6 Feb 2006 14:57:40 +0000 (14:57 +0000)]
libs/gst/base/gstbasesrc.c: Send EOS event when stopping.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
Send EOS event when stopping.
Tim-Philipp Müller [Mon, 6 Feb 2006 10:42:01 +0000 (10:42 +0000)]
docs/README: Tell folks what to do if the plugin-foobar.xml file hasn't been generated for a newly-added plugin.
Original commit message from CVS:
* docs/README:
Tell folks what to do if the plugin-foobar.xml file
hasn't been generated for a newly-added plugin.
Julien Moutte [Sun, 5 Feb 2006 18:13:28 +0000 (18:13 +0000)]
libs/gst/base/gstcollectpads.c: Collectpads now holds a reference to the GstPad that was added. Indeed we don't want ...
Original commit message from CVS:
2006-02-05 Julien MOUTTE <julien@moutte.net>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
(gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
(gst_collect_pads_start), (gst_collect_pads_stop),
(gst_collect_pads_event): Collectpads now holds a reference
to the GstPad that was added. Indeed we don't want to look
at pads that might just go away with no warning...
Julien Moutte [Sun, 5 Feb 2006 16:18:37 +0000 (16:18 +0000)]
libs/gst/base/gstcollectpads.*: Handle flush. Adapted from
Original commit message from CVS:
2006-02-05 Julien MOUTTE <julien@moutte.net>
* libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
(gst_collect_pads_start), (gst_collect_pads_stop),
(gst_collect_pads_event), (gst_collect_pads_chain):
* libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
Mark Nauwelaerts's patch on bug #328491.
Tim-Philipp Müller [Sat, 4 Feb 2006 12:49:53 +0000 (12:49 +0000)]
tests/check/gst/gstutils.c: Add some simple tests for gst_parse_bin_from_description() and gst_bin_find_unconnected_p...
Original commit message from CVS:
* tests/check/gst/gstutils.c: (test_parse_bin_from_description),
(gst_utils_suite):
Add some simple tests for gst_parse_bin_from_description() and
gst_bin_find_unconnected_pad() (#329069).
Tim-Philipp Müller [Sat, 4 Feb 2006 11:56:18 +0000 (11:56 +0000)]
tools/gst-launch.c: Catch errors during preroll (#320084).
Original commit message from CVS:
* tools/gst-launch.c: (event_loop), (main):
Catch errors during preroll (#320084).
Tim-Philipp Müller [Fri, 3 Feb 2006 21:14:57 +0000 (21:14 +0000)]
plugins/elements/gsttypefindelement.c: Post TYPE_NOT_FOUND error message when typefinding is unsuccessful in the acti...
Original commit message from CVS:
* plugins/elements/gsttypefindelement.c:
(gst_type_find_element_activate):
Post TYPE_NOT_FOUND error message when typefinding
is unsuccessful in the activate function as well.
Wim Taymans [Thu, 2 Feb 2006 16:15:17 +0000 (16:15 +0000)]
docs/design/part-element-sink.txt: Updated doc.
Original commit message from CVS:
* docs/design/part-element-sink.txt:
Updated doc.
Wim Taymans [Thu, 2 Feb 2006 16:12:35 +0000 (16:12 +0000)]
libs/gst/base/gstbasesink.c: Only keep track of prerollable items when we are prerolling.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
(gst_base_sink_render_object),
(gst_base_sink_queue_object_unlocked):
Only keep track of prerollable items when we are
prerolling.
Before rendering after preroll, always check if we
have queued items.
Added some more debugging.
Wim Taymans [Thu, 2 Feb 2006 13:58:12 +0000 (13:58 +0000)]
gst/gstelement.c: Fixed #326576, been running this for quite some time with no regressions at all.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_continue_state),
(gst_element_set_state_func), (gst_element_change_state):
Fixed #326576, been running this for quite some time with
no regressions at all.
Wim Taymans [Thu, 2 Feb 2006 13:44:04 +0000 (13:44 +0000)]
common/gst.supp: Added more suppressions
Original commit message from CVS:
* common/gst.supp:
Added more suppressions
Wim Taymans [Thu, 2 Feb 2006 12:07:48 +0000 (12:07 +0000)]
docs/design/part-element-sink.txt: Updated document.
Original commit message from CVS:
* docs/design/part-element-sink.txt:
Updated document.
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
(gst_base_sink_configure_segment), (gst_base_sink_commit_state),
(gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
(gst_base_sink_do_sync), (gst_base_sink_render_object),
(gst_base_sink_preroll_object),
(gst_base_sink_queue_object_unlocked),
(gst_base_sink_queue_object), (gst_base_sink_event),
(gst_base_sink_chain_unlocked), (gst_base_sink_chain),
(gst_base_sink_loop), (gst_base_sink_activate_pull),
(gst_base_sink_get_position), (gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
Totally refactored matching the design doc.
Use two segments, one to clip incomming buffers and another to
perform sync.
Handle queueing correctly, bypass the queue when playing.
Make EOS cancelable.
Handle errors correctly when operating in pull based mode.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Added new check for sinks.
Wim Taymans [Thu, 2 Feb 2006 11:59:27 +0000 (11:59 +0000)]
gst/gstsegment.c: No reason to refuse to clip when start == -1
Original commit message from CVS:
* gst/gstsegment.c: (gst_segment_clip):
No reason to refuse to clip when start == -1
Stefan Kost [Thu, 2 Feb 2006 11:24:19 +0000 (11:24 +0000)]
docs/: describe dparams (controller) for plugins unify docs a little more
Original commit message from CVS:
* docs/README:
* docs/manual/intro-basics.xml:
* docs/manual/intro-preface.xml:
* docs/manual/manual.xml:
* docs/pwg/advanced-dparams.xml:
* docs/pwg/intro-basics.xml:
* docs/pwg/intro-preface.xml:
* docs/pwg/pwg.xml:
describe dparams (controller) for plugins
unify docs a little more
Tim-Philipp Müller [Thu, 2 Feb 2006 09:51:18 +0000 (09:51 +0000)]
Add new API: gst_parse_bin_from_description() and gst_bin_find_unconnected_pad() (#329069).
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstutils.c: (element_find_unconnected_pad),
(gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
* gst/gstutils.h:
Add new API: gst_parse_bin_from_description() and
gst_bin_find_unconnected_pad() (#329069).
Stefan Kost [Wed, 1 Feb 2006 22:43:17 +0000 (22:43 +0000)]
docs/manual/README: uncover a nasty detail of the docs build
Original commit message from CVS:
* docs/manual/README:
uncover a nasty detail of the docs build
Thomas Vander Stichele [Wed, 1 Feb 2006 08:27:24 +0000 (08:27 +0000)]
updates for plugin docs
Original commit message from CVS:
updates for plugin docs
Wim Taymans [Tue, 31 Jan 2006 18:46:15 +0000 (18:46 +0000)]
gst/gstbin.c: Don't cache duration messages if we're not going to use or free them.
Original commit message from CVS:
* gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
Don't cache duration messages if we're not going to use or
free them.
Stefan Kost [Tue, 31 Jan 2006 16:56:28 +0000 (16:56 +0000)]
docs/: more dparam docs
Original commit message from CVS:
* docs/manual/advanced-dparams.xml:
* docs/pwg/advanced-dparams.xml:
more dparam docs
* gst/gstindex.c:
fix docs
* libs/gst/controller/lib.c: (gst_controller_init):
init just once
Thomas Vander Stichele [Tue, 31 Jan 2006 10:16:49 +0000 (10:16 +0000)]
gst/gstelement.c: also show file/line/func if no additional debug was given
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full):
also show file/line/func if no additional debug was given
Sébastien Moutte [Mon, 30 Jan 2006 23:52:52 +0000 (23:52 +0000)]
win32/vs7/grammar.vcproj: activate copy of autogenerated files for Release mode
Original commit message from CVS:
* win32/vs7/grammar.vcproj:
activate copy of autogenerated files for Release mode
Sébastien Moutte [Mon, 30 Jan 2006 22:29:03 +0000 (22:29 +0000)]
win32/common/libgstreamer.def: export gst_value_compare
Original commit message from CVS:
* win32/common/libgstreamer.def:
export gst_value_compare
Philippe Rouquier [Mon, 30 Jan 2006 21:57:00 +0000 (21:57 +0000)]
plugins/elements/:
Original commit message from CVS:
* plugins/elements/Makefile.am:
* plugins/elements/gstelements.c:
* plugins/elements/gstfdsink.c: (_do_init),
(gst_fd_sink_base_init), (gst_fd_sink_class_init),
(gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
(gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
(gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
(gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
(gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
(gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
* plugins/elements/gstfdsink.h:
Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
Stefan Kost [Mon, 30 Jan 2006 21:11:38 +0000 (21:11 +0000)]
docs/manual/advanced-dparams.xml: describe controller
Original commit message from CVS:
* docs/manual/advanced-dparams.xml:
describe controller
* docs/manual/advanced-position.xml:
* docs/manual/basics-init.xml:
* docs/manual/manual.xml:
* docs/manual/titlepage.xml:
* docs/pwg/pwg.xml:
* docs/pwg/titlepage.xml:
cleanup xml (more to come)
* libs/gst/controller/gstcontroller.c:
fix typo
Sébastien Moutte [Mon, 30 Jan 2006 20:36:51 +0000 (20:36 +0000)]
win32/vs6/grammar.dsp: add autogen of gstmarshal.c,h for Release mode
Original commit message from CVS:
* win32/vs6/grammar.dsp:
add autogen of gstmarshal.c,h for Release mode
Wim Taymans [Mon, 30 Jan 2006 16:07:48 +0000 (16:07 +0000)]
libs/gst/base/gstbasesink.c: Basesink cleanups, remove some old code.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_init),
(gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
(gst_base_sink_handle_object), (gst_base_sink_event),
(gst_base_sink_is_prerolled), (gst_base_sink_wait),
(gst_base_sink_do_sync), (gst_base_sink_handle_event),
(gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
(gst_base_sink_deactivate), (gst_base_sink_activate),
(gst_base_sink_activate_pull), (gst_base_sink_get_position),
(gst_base_sink_query), (gst_base_sink_change_state):
Basesink cleanups, remove some old code.
Handle the case where a subclass can preroll in the render
method (mostly audiosinks).
Handle more events.
Remove some locks around variables that are now protected
with the PREROLL_LOCK (clock_id, flushing, ..).
Optimize position query some more, do correct locking.
Remove old code to push queue in state change, this is not
needed anymore since preroll blocks on all prerollable items
now.
Almost implemented as described in design doc.
Wim Taymans [Mon, 30 Jan 2006 15:57:43 +0000 (15:57 +0000)]
tests/check/gst/gstbin.c: Wait for refcount to settle down before checking.
Original commit message from CVS:
* tests/check/gst/gstbin.c: (GST_START_TEST):
Wait for refcount to settle down before checking.
Wim Taymans [Mon, 30 Jan 2006 15:15:47 +0000 (15:15 +0000)]
docs/design/part-element-sink.txt: Pseudo code overview of desired sink behaviour regarding preroll.
Original commit message from CVS:
* docs/design/part-element-sink.txt:
Pseudo code overview of desired sink behaviour regarding
preroll.
Jan Schmidt [Mon, 30 Jan 2006 14:28:03 +0000 (14:28 +0000)]
Bleh, forgot to commit the changelog entry on Saturday.
Original commit message from CVS:
Bleh, forgot to commit the changelog entry on Saturday.
Sébastien Moutte [Sun, 29 Jan 2006 21:56:00 +0000 (21:56 +0000)]
win32/vs6/grammar.dsp: fix some bugs in autogenerated files for Release mode
Original commit message from CVS:
* win32/vs6/grammar.dsp:
fix some bugs in autogenerated files for Release mode
Sébastien Moutte [Sun, 29 Jan 2006 19:24:18 +0000 (19:24 +0000)]
win32/common/: export some new symbols: gst_base_src_set_format, gst_iterator_next, gst_structure_set_valist
Original commit message from CVS:
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
export some new symbols: gst_base_src_set_format,
gst_iterator_next, gst_structure_set_valist
Julien Moutte [Sun, 29 Jan 2006 17:37:08 +0000 (17:37 +0000)]
gst/gstghostpad.c: Set pad functions unconditionally. Fixes #329105.
Original commit message from CVS:
2006-01-29 Julien MOUTTE <julien@moutte.net>
* gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
Set pad functions unconditionally. Fixes #329105.
Sébastien Moutte [Sun, 29 Jan 2006 16:54:40 +0000 (16:54 +0000)]
win32/vs8: add vs8 project files created by Sergey Scobich
Original commit message from CVS:
* win32/vs8:
add vs8 project files created by Sergey Scobich
Jan Schmidt [Sat, 28 Jan 2006 00:59:37 +0000 (00:59 +0000)]
gst/gstutils.c: Don't leak pad references.
Original commit message from CVS:
* gst/gstutils.c: (gst_element_unlink_pads):
Don't leak pad references.
* tests/check/elements/fakesink.c: (GST_START_TEST):
* tests/check/generic/sinks.c: (GST_START_TEST):
* tests/check/generic/states.c: (GST_START_TEST):
* tests/check/gst/gstbin.c: (GST_START_TEST):
* tests/check/gst/gstcaps.c: (GST_START_TEST):
* tests/check/gst/gstelement.c: (GST_START_TEST):
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
* tests/check/gst/gstiterator.c: (GST_START_TEST):
* tests/check/gst/gstvalue.c: (GST_START_TEST):
Fix a bunch of leaks. Make generic/sinks.c
use a bit less cpu by slowing the buffer rate
between fakesrc and fakesink.
Stefan Kost [Fri, 27 Jan 2006 22:34:51 +0000 (22:34 +0000)]
doc fixes, to link to function, just write gst_cool_function(), don't prefix with '#'
Original commit message from CVS:
* gst/gstcaps.c:
* gst/gstelement.c: (gst_element_send_event):
* gst/gstevent.c:
* gst/gstinfo.c:
* gst/gstiterator.c:
* gst/gstiterator.h:
* gst/gstpad.c: (gst_pad_send_event):
* gst/gststructure.c:
* gst/gsturi.c:
* gst/gstutils.c:
* gst/gstvalue.c:
* libs/gst/base/gstadapter.c:
doc fixes, to link to function, just write gst_cool_function(), don't
prefix with '#'
Jan Schmidt [Fri, 27 Jan 2006 16:59:57 +0000 (16:59 +0000)]
plugins/elements/gsttee.c: Always prefer an actual return value from a src pad in place of NOT_LINKED. This means we ...
Original commit message from CVS:
* plugins/elements/gsttee.c: (gst_tee_do_push),
(gst_tee_handle_buffer):
Always prefer an actual return value from a src
pad in place of NOT_LINKED. This means we return
WRONG_STATE when all src pads are WRONG_STATE
instead of NOT_LINKED.
Lock when replacing the last message to prevent
racing with the get_property method.
Add debug output
Jan Schmidt [Fri, 27 Jan 2006 11:53:20 +0000 (11:53 +0000)]
tests/check/: Add a very simple check that should have caught the memleak I fixed last night (if not for the slice al...
Original commit message from CVS:
* tests/check/Makefile.am:
* tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
(main):
Add a very simple check that should have caught the memleak I fixed
last night (if not for the slice allocator hiding it)
Jan Schmidt [Fri, 27 Jan 2006 01:48:37 +0000 (01:48 +0000)]
gst/gstbin.c: Clean up references to the clock provider when disposed or when handling a clock-lost message from it.
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
(gst_bin_remove_func), (gst_bin_handle_message_func),
(bin_query_duration_fold), (bin_query_generic_fold):
Clean up references to the clock provider when disposed or when
handling a clock-lost message from it.
Unref sinks when performing a query via gst_iterator_fold, as the
gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
* gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
(gst_clock_set_master):
Drop our reference to the master clock, if any, when we are disposed.
* gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
Chain up in dispose.
Thomas Vander Stichele [Fri, 27 Jan 2006 01:13:10 +0000 (01:13 +0000)]
add notes on i18n
Original commit message from CVS:
add notes on i18n
Wim Taymans [Thu, 26 Jan 2006 12:59:48 +0000 (12:59 +0000)]
libs/gst/base/gstbasesrc.c: Add some debugging.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Add some debugging.
Julien Moutte [Thu, 26 Jan 2006 12:40:17 +0000 (12:40 +0000)]
plugins/elements/gsttee.c: Apply patch from #328715. Tee now handles pad being NOT_LINKED or in WRONG_STATE.
Original commit message from CVS:
2006-01-26 Julien MOUTTE <julien@moutte.net>
* plugins/elements/gsttee.c: (gst_tee_do_push),
(gst_tee_handle_buffer): Apply patch from #328715. Tee now
handles pad being NOT_LINKED or in WRONG_STATE.
Stefan Kost [Thu, 26 Jan 2006 08:57:40 +0000 (08:57 +0000)]
win32/MANIFEST: more updating
Original commit message from CVS:
* win32/MANIFEST:
more updating
Stefan Kost [Thu, 26 Jan 2006 08:39:20 +0000 (08:39 +0000)]
win32/MANIFEST: remove obsolete entry
Original commit message from CVS:
* win32/MANIFEST:
remove obsolete entry
Stefan Kost [Thu, 26 Jan 2006 06:57:14 +0000 (06:57 +0000)]
added code for downstream events, reviewed docs in gstevent.c
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
(gst_bin_iterate_sources), (gst_bin_send_event):
* gst/gstbin.h:
* gst/gstelement.c: (gst_element_send_event):
* gst/gstevent.c:
* gst/gstpad.c: (gst_pad_send_event):
added code for downstream events, reviewed docs in gstevent.c
Julien Moutte [Wed, 25 Jan 2006 18:07:02 +0000 (18:07 +0000)]
libs/gst/base/gstbasesink.c: We only query position using the clock in the playing state.
Original commit message from CVS:
2006-01-25 Julien MOUTTE <julien@moutte.net>
* libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
We only query position using the clock in the playing state.
Query peer in the other cases.
* win32/common/config.h: Updates.
Wim Taymans [Tue, 24 Jan 2006 16:23:17 +0000 (16:23 +0000)]
gst/gstsystemclock.c: A clock entry that is scheduled for the exact time of the clock is still in time.
Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
A clock entry that is scheduled for the exact time of the
clock is still in time.
* libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
(gst_base_sink_do_sync):
Add some more debug info.
Sébastien Moutte [Mon, 23 Jan 2006 12:37:33 +0000 (12:37 +0000)]
win32/vs7: Add new vs7 project files and solution.
Original commit message from CVS:
* win32/vs7 :
Add new vs7 project files and solution.
Sébastien Moutte [Mon, 23 Jan 2006 12:23:00 +0000 (12:23 +0000)]
win32/vs7: all files removed as they were out-dated.
Original commit message from CVS:
* win32/vs7:
all files removed as they were out-dated.
Thomas Vander Stichele [Fri, 20 Jan 2006 19:01:59 +0000 (19:01 +0000)]
docs/random/release: update notes
Original commit message from CVS:
* docs/random/release:
update notes
* gst/gstbin.c: (gst_bin_init):
* gst/gstbus.c: (gst_bus_new):
* gst/gstbus.h:
* gst/gstpipeline.c: (gst_pipeline_init):
use gst_bus_new(), improve logging, fix docs
* win32/common/config.h:
update for cvs build
Thomas Vander Stichele [Fri, 20 Jan 2006 18:59:00 +0000 (18:59 +0000)]
autogen.sh: up required version of automake to 1.7
Original commit message from CVS:
* autogen.sh:
up required version of automake to 1.7
Sébastien Moutte [Fri, 20 Jan 2006 12:53:40 +0000 (12:53 +0000)]
win32/common/libgstreamer.def: export gst_buffer_is_metadata_writable
Original commit message from CVS:
* win32/common/libgstreamer.def:
export gst_buffer_is_metadata_writable