Stefan Kost [Fri, 20 Apr 2007 08:39:35 +0000 (08:39 +0000)]
2nd attempt to have a xml-less build as a joined effort of #413123 and #421480.
Original commit message from CVS:
* configure.ac:
* docs/gst/gstreamer-sections.txt:
* gst/Makefile.am:
* gst/gstconfig.h.in:
* gst/gstobject.c: (gst_object_class_init),
(gst_signal_object_class_init):
* gst/gstobject.h:
2nd attempt to have a xml-less build as a joined effort of #413123
and #421480.
Stefan Kost [Fri, 20 Apr 2007 08:21:19 +0000 (08:21 +0000)]
docs/design/draft-tagreading.txt: Added open issues/thoughts to draft.
Original commit message from CVS:
* docs/design/draft-tagreading.txt:
Added open issues/thoughts to draft.
Sebastian Dröge [Thu, 19 Apr 2007 14:32:49 +0000 (14:32 +0000)]
gst/parse/: Update the prebuild parser sources.
Original commit message from CVS:
* gst/parse/grammar.tab.pre.c:
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c:
Update the prebuild parser sources.
Sebastian Dröge [Thu, 19 Apr 2007 14:23:25 +0000 (14:23 +0000)]
gst/parse/Makefile.am: And now fix the building of the flex sources. Now everything should work as expected.
Original commit message from CVS:
* gst/parse/Makefile.am:
And now fix the building of the flex sources. Now everything should
work as expected.
Sebastian Dröge [Thu, 19 Apr 2007 14:06:52 +0000 (14:06 +0000)]
gst/parse/Makefile.am: Now hopefully fix the build failures by setting proper rule dependencies and moving instead of...
Original commit message from CVS:
* gst/parse/Makefile.am:
Now hopefully fix the build failures by setting proper rule
dependencies and moving instead of copying.
Stefan Kost [Thu, 19 Apr 2007 10:43:14 +0000 (10:43 +0000)]
tests/benchmarks/: Total licensification.
Original commit message from CVS:
* tests/benchmarks/complexity.gnuplot:
* tests/benchmarks/complexity.scm:
* tests/benchmarks/mass-elements.gnuplot:
* tests/benchmarks/mass-elements.scm:
Total licensification.
Stefan Kost [Thu, 19 Apr 2007 10:22:29 +0000 (10:22 +0000)]
gst/parse/Makefile.am: Fix the build by correcting the rule that gave wrong files to flex.
Original commit message from CVS:
* gst/parse/Makefile.am:
Fix the build by correcting the rule that gave wrong files to flex.
Stefan Kost [Thu, 19 Apr 2007 08:40:33 +0000 (08:40 +0000)]
tests/benchmarks/: Change licence to LGPL as granted by Benjamin and Andy.
Original commit message from CVS:
* tests/benchmarks/complexity.c:
* tests/benchmarks/mass-elements.c:
Change licence to LGPL as granted by Benjamin and Andy.
Sebastian Dröge [Thu, 19 Apr 2007 06:18:24 +0000 (06:18 +0000)]
gst/parse/Makefile.am: Add correct grammar.tab.h dependency if compiling without new enough flex. Fixes #431150.
Original commit message from CVS:
* gst/parse/Makefile.am:
Add correct grammar.tab.h dependency if compiling without new enough
flex. Fixes #431150.
Sebastian Dröge [Wed, 18 Apr 2007 13:34:48 +0000 (13:34 +0000)]
gst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison sources are newer than the pregenerated on...
Original commit message from CVS:
* gst/parse/Makefile.am:
Fix typo and use outdated sources if the flex/bison sources are newer
than the pregenerated ones but flex is too old. Print a warning in
that case. This should fix the build on the build bot.
Marc-Andre Lureau [Wed, 18 Apr 2007 12:34:51 +0000 (12:34 +0000)]
gst/parse/: Make the parser reentrant and recursively callable. This requires flex >= 2.5.31, for older versions preg...
Original commit message from CVS:
Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
* gst/parse/Makefile.am:
* gst/parse/grammar.y:
* gst/parse/parse.l:
Make the parser reentrant and recursively callable. This requires flex
>= 2.5.31, for older versions pregenerated sources are used as we
can't bump the build dependency. Finally fixes #349180.
* gst/gstparse.c: (gst_parse_launch):
Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
now anyway.
* docs/gst/Makefile.am:
* docs/gst/Makefile.am:
* gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
(__gst_parse_strfree), (__gst_parse_link_new),
(__gst_parse_link_free), (__gst_parse_chain_new),
(__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
(gst_parse_element_set), (gst_parse_free_link),
(gst_parse_found_pad), (gst_parse_perform_delayed_link),
(gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
(_gst_parse_launch):
* gst/parse/grammar.tab.pre.h:
* gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
(yy_get_previous_state), (yy_try_NUL_trans), (input),
(_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
(_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
(_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
(_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
(_gst_parse_yypop_buffer_state),
(_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
(_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
(yy_fatal_error), (_gst_parse_yyget_extra),
(_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
(_gst_parse_yyget_in), (_gst_parse_yyget_out),
(_gst_parse_yyget_leng), (_gst_parse_yyget_text),
(_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
(_gst_parse_yyset_column), (_gst_parse_yyset_in),
(_gst_parse_yyset_out), (_gst_parse_yyget_debug),
(_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
(_gst_parse_yyset_lval), (_gst_parse_yylex_init),
(yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
(yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
(_gst_parse_yyfree):
If the installed flex version is too old use pre-generated parser
sources. These pre-generated parser sources are always updated when
the actual flex/bison sources change but require everybody who wants
to change something in the parser to have flex >= 2.5.31 installed.
Stefan Kost [Wed, 18 Apr 2007 10:58:31 +0000 (10:58 +0000)]
Make --disable-nls to work
Original commit message from CVS:
* common/m4/gst-gettext.m4:
* gst/gst-i18n-lib.h:
Make --disable-nls to work
Wim Taymans [Tue, 17 Apr 2007 16:12:46 +0000 (16:12 +0000)]
gst/gstconfig.h.in: Revert previous change that broke the build.
Original commit message from CVS:
* gst/gstconfig.h.in:
Revert previous change that broke the build.
Thomas Vander Stichele [Tue, 17 Apr 2007 14:36:35 +0000 (14:36 +0000)]
MANPATH fix
Original commit message from CVS:
MANPATH fix
Stefan Kost [Tue, 17 Apr 2007 10:46:46 +0000 (10:46 +0000)]
Drop libxml2 dependency when building with
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/gstconfig.h.in:
Drop libxml2 dependency when building with
--enable-binary-registry --disable-loadsave
Thomas Vander Stichele [Mon, 16 Apr 2007 21:41:45 +0000 (21:41 +0000)]
fix the release date in the doap file
Original commit message from CVS:
fix the release date in the doap file
Tim-Philipp Müller [Mon, 16 Apr 2007 19:45:31 +0000 (19:45 +0000)]
gst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke the win32 build with MingW; move include...
Original commit message from CVS:
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
(gst_registry_binary_read_cache):
* gst/gstregistrybinary.h:
Remove unnecessary <sys/mman.h> include which broke the win32 build
with MingW; move includes from header file to .c file, even if the
header file isn't installed; use g_strerror() where UTF-8 strings
are expected, such as in GST_DEBUG messages.
Jan Schmidt [Fri, 13 Apr 2007 15:15:50 +0000 (15:15 +0000)]
docs/libs/gstreamer-libs-sections.txt: Remove bogus addition for API I didn't end up keeping.
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
Remove bogus addition for API I didn't end up keeping.
* libs/gst/base/gstbasesrc.h:
Mention Since: 0.10.13 in the documentation.
Add the API keyword to the previous ChangeLog entry.
Jan Schmidt [Fri, 13 Apr 2007 14:18:44 +0000 (14:18 +0000)]
Allow basesrc derived classes to execute seeks in other formats by providing a prepare_seek_segment vmethod. Sub-clas...
Original commit message from CVS:
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
(gst_base_src_default_prepare_seek_segment),
(gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
* libs/gst/base/gstbasesrc.h:
Allow basesrc derived classes to execute seeks in other formats
by providing a prepare_seek_segment vmethod. Sub-classes can choose
to prepare the GstSegment in any format that their perform_seek method
will be able to understand. The default implementation provides the
old behaviour of attempting to convert the seek offsets to the
configured native format.
Jan Schmidt [Fri, 13 Apr 2007 11:53:00 +0000 (11:53 +0000)]
gst/gstelement.c: Don't output the same debug statement twice.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_state_func):
Don't output the same debug statement twice.
* libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
(gst_adapter_peek), (gst_adapter_take_buffer):
Optimise the case where we have buffers at the head of the queue that
can be joined quickly (because they're contiguous sub-buffers) by
merging them together rather than copying data out into new memory.
* gst/parse/grammar.y:
* tests/check/pipelines/parse-launch.c:
Fix a leak in an error path for parse_launch, and add a check
for it to the testsuite.
Jan Schmidt [Fri, 13 Apr 2007 11:20:48 +0000 (11:20 +0000)]
plugins/elements/gstmultiqueue.c: Don't deadlock when releasing a pad - gst_pad_set_active may try and take the multi...
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
Don't deadlock when releasing a pad - gst_pad_set_active may try
and take the multiqueue lock too.
Tim-Philipp Müller [Thu, 12 Apr 2007 12:59:49 +0000 (12:59 +0000)]
gst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).
Original commit message from CVS:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
API: add GST_CORE_ERROR_DISABLED (#392804).
Thomas Vander Stichele [Thu, 12 Apr 2007 10:32:38 +0000 (10:32 +0000)]
docs/faq/gst-uninstalled: don't get empty paths on the PATH variables
Original commit message from CVS:
* docs/faq/gst-uninstalled:
don't get empty paths on the PATH variables
* gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
Don't format for the uncommon terminal width of 84 characters.
Thomas Vander Stichele [Mon, 9 Apr 2007 11:59:28 +0000 (11:59 +0000)]
back to head
Original commit message from CVS:
back to head
Thomas Vander Stichele [Mon, 9 Apr 2007 08:17:13 +0000 (08:17 +0000)]
don't format for the uncommon editor width of 84 characters
Original commit message from CVS:
don't format for the uncommon editor width of 84 characters
Wim Taymans [Fri, 6 Apr 2007 11:48:17 +0000 (11:48 +0000)]
gst/gstpipeline.c: Only try to select a different pipeline clock when we went back to
Original commit message from CVS:
* gst/gstpipeline.c: (reset_stream_time),
(gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
Only try to select a different pipeline clock when we went back to
PAUSED and not when we merely got flushed.
Michael Smith [Thu, 5 Apr 2007 16:17:24 +0000 (16:17 +0000)]
tools/gst-launch.1.in: fractions are better supported in gstreamer than ractions, so suggest using those.
Original commit message from CVS:
* tools/gst-launch.1.in:
fractions are better supported in gstreamer than ractions, so
suggest using those.
Thomas Vander Stichele [Thu, 5 Apr 2007 13:49:42 +0000 (13:49 +0000)]
update dutch
Original commit message from CVS:
update dutch
Thomas Vander Stichele [Thu, 5 Apr 2007 13:46:54 +0000 (13:46 +0000)]
po/: Added Danish translation.
Original commit message from CVS:
Submitted by: Mogens Jaeger <mogens@jaeger.tf>
* po/LINGUAS:
* po/da.po:
Added Danish translation.
Wim Taymans [Thu, 5 Apr 2007 11:16:09 +0000 (11:16 +0000)]
libs/gst/base/gstbasesink.c: Fix leak caused when refusing newsegment after EOS.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
Fix leak caused when refusing newsegment after EOS.
* plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
(gst_fake_sink_init), (gst_fake_sink_set_property),
(gst_fake_sink_get_property), (gst_fake_sink_preroll),
(gst_fake_sink_render), (gst_fake_sink_change_state):
* plugins/elements/gstfakesink.h:
Add num-buffers property to make the element generate EOS after a
configurable amount of buffers.
API: fakesink::num-buffers property.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Fix GstBus leak in test.
Test for fakesink num-buffers.
Wim Taymans [Thu, 5 Apr 2007 10:10:08 +0000 (10:10 +0000)]
libs/gst/base/gstbasesink.c: Don't accept anything after an EOS, return UNEXPECTED instead.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c:
(gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
(gst_base_sink_change_state):
Don't accept anything after an EOS, return UNEXPECTED instead.
* tests/check/elements/fakesink.c: (GST_START_TEST),
(fakesink_suite):
Unit test for new EOS behaviour.
Wim Taymans [Thu, 5 Apr 2007 10:08:21 +0000 (10:08 +0000)]
gst/gstelement.c: Make padtemplates also work when they don't contain %s or %d.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_request_pad):
Make padtemplates also work when they don't contain %s or %d.
Wim Taymans [Thu, 5 Apr 2007 10:06:20 +0000 (10:06 +0000)]
Improve _adjust_unlocked() so that it overflows less.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstclock.c: (gst_clock_adjust_unlocked),
(gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
* gst/gstclock.h:
Improve _adjust_unlocked() so that it overflows less.
Add gst_clock_unadjust_unlocked to convert from external time to
internal time based on calibration.
Add some more debug.
API: GstClock::gst_clock_unadjust_unlocked()
Tommi Myöhänen [Tue, 3 Apr 2007 11:02:41 +0000 (11:02 +0000)]
plugins/elements/gstmultiqueue.c: Deactivate pads and free GstSingleQueue with gst_single_queue_free() when releasing...
Original commit message from CVS:
Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
Deactivate pads and free GstSingleQueue with gst_single_queue_free()
when releasing sink pad. Fixes #425400.
Stefan Kost [Mon, 2 Apr 2007 14:48:12 +0000 (14:48 +0000)]
docs/random/ensonic/dynlink.txt: More work on proposal for new core api.
Original commit message from CVS:
* docs/random/ensonic/dynlink.txt:
More work on proposal for new core api.
* docs/libs/gstreamer-libs-sections.txt:
* libs/gst/base/gstbasetransform.h:
API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
* libs/gst/controller/gstcontroller.c:
(on_object_controlled_property_changed),
(gst_controller_sync_values),
(gst_controller_set_interpolation_mode):
* libs/gst/controller/gstcontroller.h:
Less verbose logging add docs for unimplemented parts and correctly
return when using unavailable parts.
Jan Schmidt [Thu, 29 Mar 2007 16:04:45 +0000 (16:04 +0000)]
gst/gstclock.c: Move all the debug to the CLOCK category, and associate it with the clock object.
Original commit message from CVS:
* gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
Move all the debug to the CLOCK category, and associate it with
the clock object.
Jan Schmidt [Thu, 29 Mar 2007 15:53:03 +0000 (15:53 +0000)]
libs/gst/base/gstadapter.c: Make take_buffer a bit quicker by removing redundant checks caused by calling gst_adapter...
Original commit message from CVS:
* libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
Make take_buffer a bit quicker by removing redundant checks
caused by calling gst_adapter_take.
Tim-Philipp Müller [Wed, 28 Mar 2007 18:38:11 +0000 (18:38 +0000)]
plugins/elements/gstmultiqueue.c: Don't leak GCond.
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
Don't leak GCond.
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* tests/check/elements/multiqueue.c: (setup_multiqueue),
(GST_START_TEST), (multiqueue_suite):
Add some dead simple unit tests for the 'multiqueue' element
(some bits don't work yet and are disabled for now).
Tim-Philipp Müller [Wed, 28 Mar 2007 18:25:16 +0000 (18:25 +0000)]
gst/gstelement.c: Make gst_element_get_request_pad() create request pads only for request pad templates and not for, ...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_get_request_pad),
(gst_element_class_get_request_pad_template):
Make gst_element_get_request_pad() create request pads only for
request pad templates and not for, say, sometimes pad templates.
Stefan Kost [Wed, 28 Mar 2007 13:44:41 +0000 (13:44 +0000)]
docs/design/draft-klass.txt: Add example that needs more thinking.
Original commit message from CVS:
* docs/design/draft-klass.txt:
Add example that needs more thinking.
* docs/design/draft-missing-plugins.txt:
More thoughts about wtrapper plugins.
* docs/random/ensonic/embedded.txt:
* docs/random/ensonic/profiling.txt:
More design work.
Wim Taymans [Sun, 25 Mar 2007 15:33:35 +0000 (15:33 +0000)]
libs/gst/base/gstbasesrc.c: Only push the segment events in the PLAYING state for live sources.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
(gst_base_src_loop):
Only push the segment events in the PLAYING state for live sources.
Jan Schmidt [Fri, 23 Mar 2007 17:52:19 +0000 (17:52 +0000)]
gst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so that we never attempt to choose a new clo...
Original commit message from CVS:
* gst/gstpipeline.c: (gst_pipeline_change_state):
Modify the clock distribution path in PAUSED->PLAYING so that we
never attempt to choose a new clock unless we're actually leaving
the PAUSED state for the first time. This prevents choosing a
different clock when the state_change gets called for a 2nd time due
to some element doing an async state change.
Sebastian Dröge [Thu, 22 Mar 2007 18:28:00 +0000 (18:28 +0000)]
gst/gstpad.c: Revert last commit. This needs some more thoughts.
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
(gst_pad_configure_src), (gst_pad_alloc_buffer_full),
(gst_pad_chain_unchecked), (gst_pad_push):
Revert last commit. This needs some more thoughts.
Sebastian Dröge [Thu, 22 Mar 2007 17:12:23 +0000 (17:12 +0000)]
gst/gstpad.c: Check in set_caps if the caps are compatible with the pad and remove two functions that are redundant n...
Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
(gst_pad_chain_unchecked), (gst_pad_push):
Check in set_caps if the caps are compatible with the pad and remove
two functions that are redundant now. Fixes #421543.
Wim Taymans [Thu, 22 Mar 2007 12:31:54 +0000 (12:31 +0000)]
tests/check/gst/gstsystemclock.c: Unref some more to make valgrind happy.
Original commit message from CVS:
* tests/check/gst/gstsystemclock.c: (GST_START_TEST),
(mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
Unref some more to make valgrind happy.
Wim Taymans [Thu, 22 Mar 2007 11:58:08 +0000 (11:58 +0000)]
gst/gstsystemclock.c: Fix anoying regression that survived a few releases. When adding an async entry while blocking ...
Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
(gst_system_clock_id_wait_jitter),
(gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
Fix anoying regression that survived a few releases. When adding an
async entry while blocking on a sync entry, the sync entry will unblock
but still be busy, so it should continue to wait instead of returning
_BUSY to the app.
Add some comments here and there.
* tests/check/gst/gstsystemclock.c: (mixed_thread),
(mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
Add testcase for this.
Wim Taymans [Thu, 22 Mar 2007 11:19:32 +0000 (11:19 +0000)]
libs/gst/base/gstbasesrc.c: Handle errors from the clock sync better, only UNSCHEDULED indicates a
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
Handle errors from the clock sync better, only UNSCHEDULED indicates a
WRONG_STATE and can silently pause the task. All other cases should
error out.
Wim Taymans [Thu, 22 Mar 2007 08:23:41 +0000 (08:23 +0000)]
gst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
Original commit message from CVS:
Patch by: <syrjala at sci dot fi>
* gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
Improve debugging.
Michael Smith [Wed, 21 Mar 2007 18:13:40 +0000 (18:13 +0000)]
docs/pwg/advanced-types.xml: Fix some errors in the typefinding docs pointed out on irc.
Original commit message from CVS:
* docs/pwg/advanced-types.xml:
Fix some errors in the typefinding docs pointed out on irc.
Jan Schmidt [Wed, 21 Mar 2007 17:50:46 +0000 (17:50 +0000)]
libs/gst/base/gstbasesrc.c: Clarify FIXME comment in the face of having added unlock_stop()
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c:
Clarify FIXME comment in the face of having added unlock_stop()
Wim Taymans [Wed, 21 Mar 2007 11:52:04 +0000 (11:52 +0000)]
gst/gstbin.c: Prepare for release where we warn against possible app breakage in the case of live pipelines along wit...
Original commit message from CVS:
* gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
Prepare for release where we warn against possible app breakage in the
case of live pipelines along with an env var to enable/disable live
preroll mode (GST_COMPAT=[no-]live-preroll).
Zaheer Abbas Merali [Tue, 20 Mar 2007 14:25:15 +0000 (14:25 +0000)]
plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset): So we should use correct constants for checking...
Original commit message from CVS:
* plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
So we should use correct constants for checking for None offset.
Wim Taymans [Tue, 20 Mar 2007 14:17:47 +0000 (14:17 +0000)]
docs/design/part-block.txt: Mention the fact that the newly switched element should be set to at least PAUSED.
Original commit message from CVS:
* docs/design/part-block.txt:
Mention the fact that the newly switched element should be set to at
least PAUSED.
Wim Taymans [Tue, 20 Mar 2007 10:23:25 +0000 (10:23 +0000)]
gst/gst.c: Fix compilation with registry disabled as spotted by Saur.
Original commit message from CVS:
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.
Olivier Crete [Tue, 20 Mar 2007 09:46:11 +0000 (09:46 +0000)]
gst/gstelement.c: Look at the pending state too when syncing the element state to the parent. Fixes #420133.
Original commit message from CVS:
Patch by: Olivier Crete <tester at tester dot ca>
* gst/gstelement.c: (gst_element_sync_state_with_parent):
Look at the pending state too when syncing the element state to the
parent. Fixes #420133.
Jan Schmidt [Mon, 19 Mar 2007 15:01:40 +0000 (15:01 +0000)]
libs/gst/base/: Add ::unlock_stop to basesrc and basesink. This allows an opportunity for sub-classes to correctly cl...
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
(gst_base_sink_change_state):
* libs/gst/base/gstbasesink.h:
* libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
(gst_base_src_default_event), (gst_base_src_unlock_stop),
(gst_base_src_deactivate):
* libs/gst/base/gstbasesrc.h:
Add ::unlock_stop to basesrc and basesink. This allows an opportunity
for sub-classes to correctly clear any state they set trying to
unlock, such as clearing out unlock commands from a command fd.
* plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
(gst_fd_sink_render), (gst_fd_sink_unlock),
(gst_fd_sink_unlock_stop):
* plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
(gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
(gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
Implement unlock_stop in fdsrc and fdsink.
Implement seeking in fdsrc when a seekable fd is passed, as in
gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
Evan Nemerson [Mon, 19 Mar 2007 12:07:32 +0000 (12:07 +0000)]
gst/gstelement.c: Fix pad-added and pad-removed signal signatures so that the pad type is stated as GST_TYPE_PAD inst...
Original commit message from CVS:
Patch by: Evan Nemerson <evan at coeus dash group dot com>
* gst/gstelement.c: (gst_element_class_init):
Fix pad-added and pad-removed signal signatures so that the pad type is
stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
Wim Taymans [Mon, 19 Mar 2007 10:47:56 +0000 (10:47 +0000)]
docs/gst/gstreamer-sections.txt: Add new element field and method.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new element field and method.
* gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
(bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
(gst_bin_recalc_state), (gst_bin_get_state_func),
(gst_bin_element_set_state), (gst_bin_change_state_func),
(gst_bin_continue_func), (bin_bus_handler),
(bin_push_state_continue), (bin_handle_async_start),
(bin_handle_async_done), (gst_bin_handle_message_func):
Make async state changes a bit smarter by using new ASYNC_START and
ASYNC_DONE messages. This reduces the number of times we run the state
recalculation thread.
Don't change state of element with a pending ASYNC_START message.
Deprecate STATE_DIRTY messages.
* gst/gstelement.c: (gst_element_init), (gst_element_send_event),
(gst_element_get_state_func), (gst_element_continue_state),
(gst_element_lost_state), (gst_element_set_state_func),
(gst_element_change_state):
* gst/gstelement.h:
Keep the state that was last set by the app in a new element field.
Don't allow state changes when handling an element event.
Post ASYNC_START and ASYNC_DONE messages.
Change lost_state so that we go to PAUSED and wait for the parent to set
us to PLAYING again (so latency calculation can be performed)
Export gst_element_change_state() method so that subclasses can use it.
API: gst_element_change_state()
API: GST_STATE_TARGET
* gst/gstpipeline.c: (gst_pipeline_class_init),
(reset_stream_time), (gst_pipeline_change_state),
(gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
Using the new ASYNC_START message we can reset the base_time when
needed. This can then be used to implement base_time redistribution in
flushing seeks so that we can remove the explicit seek handling.
Perform latency query and configuration when going to PLAYING.
* libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
(gst_base_sink_query), (gst_base_sink_change_state):
Post new ASYNC_START/ASYNC_DONE messages.
* tests/check/generic/sinks.c: (GST_START_TEST):
Fix test because the bin will not set the async element to PLAYING right
away.
* tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
Make the message check a little stronger.
Handle ASYNC messages.
* tests/check/pipelines/cleanup.c: (GST_START_TEST):
* tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
Expect ASYNC_DONE messages.
Wim Taymans [Mon, 19 Mar 2007 09:55:02 +0000 (09:55 +0000)]
Add ASYNC_START and ASYNC_DONE messages to prepare for latency support.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstmessage.c: (gst_message_new_async_start),
(gst_message_new_async_done), (gst_message_parse_info),
(gst_message_parse_async_start):
* gst/gstmessage.h:
Add ASYNC_START and ASYNC_DONE messages to prepare for latency
support.
Thomas Vander Stichele [Thu, 15 Mar 2007 22:33:14 +0000 (22:33 +0000)]
typos
Original commit message from CVS:
typos
Tim-Philipp Müller [Thu, 15 Mar 2007 12:37:50 +0000 (12:37 +0000)]
tools/gst-inspect.c: Now that we don't check for the 'Codec' keyword any longer in the klass, we shouldn't spew a war...
Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Now that we don't check for the 'Codec' keyword any longer in the
klass, we shouldn't spew a warning if the klass isn't a decoder or
encoder (since it might be a Source/Network, for example).
Tim-Philipp Müller [Wed, 14 Mar 2007 17:24:18 +0000 (17:24 +0000)]
tools/gst-inspect.c: Don't require decoder/demuxer/depayloader elements or encoder/muxer/paylader elements to have 'C...
Original commit message from CVS:
* tools/gst-inspect.c:
(print_plugin_automatic_install_info_codecs):
Don't require decoder/demuxer/depayloader elements or
encoder/muxer/paylader elements to have 'Codec' as part of their
factory class string when introspecting a plugin's capabilities.
draft-klass.txt mentions that it might be removed in future, and
flump3dec doesn't have it as part of its class string, so chances
are others might also not have it.
Thomas Vander Stichele [Wed, 14 Mar 2007 15:42:01 +0000 (15:42 +0000)]
update i18n doc
Original commit message from CVS:
update i18n doc
Thomas Vander Stichele [Wed, 14 Mar 2007 15:17:09 +0000 (15:17 +0000)]
reformat
Original commit message from CVS:
reformat
Thomas Vander Stichele [Wed, 14 Mar 2007 15:15:45 +0000 (15:15 +0000)]
po/: Update translations from translation project
Original commit message from CVS:
* po/af.po:
* po/az.po:
* po/bg.po:
* po/ca.po:
* po/cs.po:
* po/de.po:
* po/en_GB.po:
* po/fr.po:
* po/it.po:
* po/nb.po:
* po/nl.po:
* po/ru.po:
* po/sq.po:
* po/sr.po:
* po/sv.po:
* po/tr.po:
* po/uk.po:
* po/vi.po:
* po/zh_CN.po:
* po/zh_TW.po:
Update translations from translation project
Stefan Kost [Wed, 14 Mar 2007 13:40:28 +0000 (13:40 +0000)]
gst/gstchildproxy.c: Invert precondition check to be alike the ones in the mimiced gobject api.
Original commit message from CVS:
* gst/gstchildproxy.c: (gst_child_proxy_get_property),
(gst_child_proxy_set_property):
Invert precondition check to be alike the ones in the mimiced gobject
api.
Thomas Vander Stichele [Wed, 14 Mar 2007 11:21:48 +0000 (11:21 +0000)]
fix misleading log statement
Original commit message from CVS:
fix misleading log statement
Stefan Kost [Tue, 13 Mar 2007 14:53:21 +0000 (14:53 +0000)]
docs/: Do some Architect work.
Original commit message from CVS:
* docs/design/draft-tagreading.txt:
* docs/random/ensonic/audiobaseclasses.txt:
Do some Architect work.
* gst/gstobject.c: (gst_object_set_name):
Add a WARNING.
* gst/gstpad.c:
Add docs that point from gst_pad_get_range to gst_pad_pull_range
Jan Schmidt [Mon, 12 Mar 2007 15:27:05 +0000 (15:27 +0000)]
gst/gstsystemclock.c: Defer starting the async system clock thread until the first async wait is scheduled. Fixes #41...
Original commit message from CVS:
* gst/gstsystemclock.c: (gst_system_clock_init),
(gst_system_clock_start_async), (gst_system_clock_id_wait_async):
Defer starting the async system clock thread until the first async
wait is scheduled. Fixes #414986.
Tim-Philipp Müller [Mon, 12 Mar 2007 14:23:16 +0000 (14:23 +0000)]
plugins/elements/gstmultiqueue.c: Fix small leak (free GstSingleQueue structure too, not only contents).
Original commit message from CVS:
* plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
(gst_single_queue_free):
Fix small leak (free GstSingleQueue structure too, not only contents).
Sébastien Moutte [Sat, 10 Mar 2007 15:44:44 +0000 (15:44 +0000)]
gst/gstbin.c: Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
Original commit message from CVS:
* gst/gstbin.c:(gst_bin_add):
Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
* win32/common/libgstbase.def:
* win32/common/libgstreamer.def:
Add new exported functions.
Wim Taymans [Fri, 9 Mar 2007 16:39:29 +0000 (16:39 +0000)]
docs/plugins/gstreamer-plugins-sections.txt: Fix GstTee docs.
Original commit message from CVS:
* docs/plugins/gstreamer-plugins-sections.txt:
Fix GstTee docs.
Wim Taymans [Fri, 9 Mar 2007 16:30:38 +0000 (16:30 +0000)]
Add metadata copy functions. Fixes #393099.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
* gst/gstbuffer.h:
Add metadata copy functions. Fixes #393099.
* gst/gstutils.c: (gst_buffer_stamp):
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_prepare_output_buffer):
Use new metadata copy functions.
Thomas Vander Stichele [Fri, 9 Mar 2007 14:20:25 +0000 (14:20 +0000)]
plugins/elements/gstidentity.*: Separate out check-imperfect-timestamp and check-imperfect-offset.
Original commit message from CVS:
* plugins/elements/gstidentity.c: (gst_identity_class_init),
(gst_identity_init), (gst_identity_check_perfect),
(gst_identity_check_imperfect_timestamp),
(gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
(gst_identity_set_property), (gst_identity_get_property):
* plugins/elements/gstidentity.h:
Separate out check-imperfect-timestamp and check-imperfect-offset.
Put back check-perfect as it was to keep compatibility.
Jan Schmidt [Fri, 9 Mar 2007 12:34:46 +0000 (12:34 +0000)]
gst/gstelement.c: There's no need to warn if VOID_PENDING is not NONE here, as long as the state is NULL it's ok, and...
Original commit message from CVS:
* gst/gstelement.c: (gst_element_dispose):
There's no need to warn if VOID_PENDING is not NONE here, as
long as the state is NULL it's ok, and that's checked immediately
above.
Zaheer Abbas Merali [Thu, 8 Mar 2007 17:58:57 +0000 (17:58 +0000)]
plugins/elements/gstidentity.c: Fix check for perfect stream to ignore buffers with -1 offsets/offset ends when check...
Original commit message from CVS:
2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Fix check for perfect stream to ignore buffers with -1
offsets/offset ends when checking data contiguity.
Wim Taymans [Thu, 8 Mar 2007 16:26:44 +0000 (16:26 +0000)]
tools/gst-launch.c: Print INFO messages.
Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Print INFO messages.
Wim Taymans [Thu, 8 Mar 2007 11:40:18 +0000 (11:40 +0000)]
libs/gst/base/gstbasetransform.*: Add support for dropping buffers with custom GstFlowReturn.
Original commit message from CVS:
* libs/gst/base/gstbasetransform.c:
(gst_base_transform_sink_eventfunc),
(gst_base_transform_handle_buffer), (gst_base_transform_chain),
(gst_base_transform_activate):
* libs/gst/base/gstbasetransform.h:
Add support for dropping buffers with custom GstFlowReturn.
Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
buffers or dropped buffers.
* docs/libs/gstreamer-libs-sections.txt:
docs for new custom return code.
* plugins/elements/gstidentity.c: (gst_identity_transform_ip):
Use drop support in base class to implement drop-probability.
Tim-Philipp Müller [Wed, 7 Mar 2007 17:26:49 +0000 (17:26 +0000)]
gst/: Remove newlines at end of debug log strings.
Original commit message from CVS:
* gst/gst.c: (load_plugin_func):
* gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
* gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
* gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
Remove newlines at end of debug log strings.
Zaheer Abbas Merali [Wed, 7 Mar 2007 17:14:53 +0000 (17:14 +0000)]
plugins/elements/gstidentity.c: Only post bus message at max, once per buffer received.
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Only post bus message at max, once per buffer received.
Wim Taymans [Wed, 7 Mar 2007 17:13:17 +0000 (17:13 +0000)]
docs/design/: Add doc about synchronisation
Original commit message from CVS:
* docs/design/Makefile.am:
* docs/design/part-synchronisation.txt:
Add doc about synchronisation
* docs/design/draft-latency.txt:
* docs/design/part-TODO.txt:
* docs/design/part-clocks.txt:
* docs/design/part-events.txt:
* docs/design/part-gstbus.txt:
* docs/design/part-gstpipeline.txt:
* docs/design/part-live-source.txt:
* docs/design/part-messages.txt:
* docs/design/part-overview.txt:
* docs/design/part-streams.txt:
* docs/design/part-trickmodes.txt:
Documentation updates.
Jan Schmidt [Wed, 7 Mar 2007 17:09:57 +0000 (17:09 +0000)]
gstreamer.doap: Update the doap file.
Original commit message from CVS:
* gstreamer.doap:
Update the doap file.
Zaheer Abbas Merali [Wed, 7 Mar 2007 17:02:51 +0000 (17:02 +0000)]
plugins/elements/gstidentity.c: Rename non-perfect to imperfect for Mike and for the sanctity of the language.
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect):
Rename non-perfect to imperfect for Mike and for the sanctity of
the language.
Also make sure bus message gets emitted for data-incontiguities.
Zaheer Abbas Merali [Wed, 7 Mar 2007 16:58:42 +0000 (16:58 +0000)]
plugins/elements/gstidentity.*: Emit bus message if check-perfect is true and we encounter a non-perfect stream betwe...
Original commit message from CVS:
2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* plugins/elements/gstidentity.c: (gst_identity_check_perfect),
(gst_identity_start):
* plugins/elements/gstidentity.h:
Emit bus message if check-perfect is true and we encounter a
non-perfect stream between 2 consecutive buffers.
Fixes #415394.
Jan Schmidt [Wed, 7 Mar 2007 16:55:02 +0000 (16:55 +0000)]
configure.ac: Back to CVS
Original commit message from CVS:
* configure.ac:
Back to CVS
Jan Schmidt [Wed, 7 Mar 2007 16:44:04 +0000 (16:44 +0000)]
Release 0.10.12
Original commit message from CVS:
Release 0.10.12
Jan Schmidt [Wed, 7 Mar 2007 16:31:30 +0000 (16:31 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Wed, 7 Mar 2007 12:51:20 +0000 (12:51 +0000)]
Update .po files
Original commit message from CVS:
Update .po files
Jan Schmidt [Thu, 1 Mar 2007 18:46:36 +0000 (18:46 +0000)]
configure.ac: Version 0.10.11.2 (0.10.12 pre-release)
Original commit message from CVS:
* configure.ac:
Version 0.10.11.2 (0.10.12 pre-release)
Bump libtool versioning.
Stefan Kost [Thu, 1 Mar 2007 14:49:41 +0000 (14:49 +0000)]
libs/gst/base/gstbasesrc.c: Log flow-names and not numbers.
Original commit message from CVS:
* libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
Log flow-names and not numbers.
Thomas Vander Stichele [Wed, 28 Feb 2007 19:25:48 +0000 (19:25 +0000)]
configure.ac: Convert to new AG_GST style.
Original commit message from CVS:
* configure.ac:
Convert to new AG_GST style.
Wim Taymans [Wed, 28 Feb 2007 18:51:47 +0000 (18:51 +0000)]
libs/gst/base/gstbasesink.c: Don't unref query twice.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
Don't unref query twice.
Wim Taymans [Wed, 28 Feb 2007 16:57:49 +0000 (16:57 +0000)]
gst/gstvalue.c: Implement GstObject -> string transform so we print object names when serializing GValues containing ...
Original commit message from CVS:
* gst/gstvalue.c: (gst_value_transform_object_string),
(_gst_value_initialize):
Implement GstObject -> string transform so we print object names
when serializing GValues containing GstObjects.
Wim Taymans [Wed, 28 Feb 2007 16:55:53 +0000 (16:55 +0000)]
docs/gst/gstreamer-sections.txt: Add new stuff to docs.
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
Add new stuff to docs.
Wim Taymans [Wed, 28 Feb 2007 16:46:07 +0000 (16:46 +0000)]
libs/gst/base/gstbasesink.c: Improve latency query code.
Original commit message from CVS:
* libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
(gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
(gst_base_sink_change_state):
Improve latency query code.
Don't leak latency events.
* tests/check/gst/gstbin.c: (GST_START_TEST):
Improve debugging.
Wim Taymans [Wed, 28 Feb 2007 16:43:43 +0000 (16:43 +0000)]
gst/gstelement.*: Improve docs a little. Added Since: for new macro.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_get_state_func):
* gst/gstelement.h:
Improve docs a little. Added Since: for new macro.
* gst/gstobject.c: (gst_object_sink):
* gst/gstpipeline.c: (gst_pipeline_change_state),
(gst_pipeline_set_new_stream_time):
* gst/gstpipeline.h:
Improve debugging and docs.
* gst/gstutils.c: (gst_element_state_change_return_get_name):
Improve debugging.
Wim Taymans [Wed, 28 Feb 2007 16:40:02 +0000 (16:40 +0000)]
gst/gstelement.c: Handle INFO messages from the GST_ELEMENT_INFO macro as well.
Original commit message from CVS:
* gst/gstelement.c: (gst_element_message_full),
(gst_element_set_locked_state), (gst_element_get_state_func),
(gst_element_change_state):
Handle INFO messages from the GST_ELEMENT_INFO macro as well.
Documentation updates.
Small code cleanups.
* gst/gstmessage.c: (gst_message_new_info),
(gst_message_parse_info):
* gst/gstmessage.h:
API: gst_message_new_info()
API: gst_message_parse_info()
Add INFO message create and parse code.
Wim Taymans [Wed, 28 Feb 2007 16:35:48 +0000 (16:35 +0000)]
gst/gstbin.c: Also report the live parameter of a latency query.
Original commit message from CVS:
* gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
(bin_query_latency_done):
Also report the live parameter of a latency query.
Thomas Vander Stichele [Wed, 28 Feb 2007 12:57:42 +0000 (12:57 +0000)]
plug test leak
Original commit message from CVS:
plug test leak
Thomas Vander Stichele [Wed, 28 Feb 2007 12:43:57 +0000 (12:43 +0000)]
actually use the env var for tests
Original commit message from CVS:
actually use the env var for tests