summaryrefslogtreecommitdiff
path: root/gst
AgeCommit message (Collapse)AuthorFilesLines
2007-05-21docs/design/part-synchronisation.txt: Small addition.Wim Taymans2-8/+20
Original commit message from CVS: * docs/design/part-synchronisation.txt: Small addition. * gst/gstbin.c: (gst_bin_query): * plugins/elements/gstqueue.c: (apply_segment): Improve debugging. * gst/gstmessage.h: Improve docs.
2007-05-21gst/gstpad.c: Added simple version of improved caps checking. It was ↵Wim Taymans1-22/+15
previously assumed that a setcaps function would... Original commit message from CVS: * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_acceptcaps_default), (gst_pad_configure_sink), (gst_pad_configure_src): Added simple version of improved caps checking. It was previously assumed that a setcaps function would check the validity of the caps but people prefer us to check caps against the template automatically. Fixes #421543.
2007-05-17gst/gstsegment.c: Small doc fix.Edward Hervey1-3/+3
Original commit message from CVS: * gst/gstsegment.c: Small doc fix.
2007-05-16gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols ↵Tim-Philipp Müller1-1/+1
or missing libraries and spew a warning to... Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_load_file): If we fail to load a plugin because of unresolved symbols or missing libraries and spew a warning to stderr, we may just as well mention which plugin it was that failed to load.
2007-05-13gst/gstutils.h: Reword some documentation.David Schleef1-12/+12
Original commit message from CVS: * gst/gstutils.h: Reword some documentation.
2007-05-13gst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything ↵David Schleef1-8/+7
with the passed "module" parameter, so remov... Original commit message from CVS: * gst/gstplugin.c: gst_plugin_register_func() doesn't actually do anything with the passed "module" parameter, so remove it. Allows removal of additional vestigal code.
2007-05-13gst/gstplugin.c: Using sigaction should depend on HAVE_SIGACTION, not ↵David Schleef1-3/+3
HAVE_WIN32. Original commit message from CVS: * gst/gstplugin.c: Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32. Switch to using g_stat() because it's more portable.
2007-05-12gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option ↵David Schleef2-2/+25
parsing for embedded systems. Original commit message from CVS: * gst/gst.c: Add GST_DISABLE_OPTION_PARSING, in order to disable option parsing for embedded systems. * gst/gstelementfactory.c: Allow gst_element_register() to be called with plugin==NULL. Did nobody notice that static elements were broken?
2007-05-11gst/gsturi.c: Don't leak plugin feature.Tim-Philipp Müller1-1/+1
Original commit message from CVS: * gst/gsturi.c: (gst_element_make_from_uri): Don't leak plugin feature. * tests/check/Makefile.am: * tests/check/gst/.cvsignore: * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite): Add brain-dead unit test.
2007-05-11gst/gsturi.c: Treat protocol strings in a case-insensitive way (#437563).Jeroen Wouters1-2/+2
Original commit message from CVS: Patch by: Jeroen Wouters <woutersj at gmail com> * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry): Treat protocol strings in a case-insensitive way (#437563).
2007-05-11gst/: Don't print a g_warning for any failure to load a shared object.Michael Smith2-17/+9
Original commit message from CVS: * gst/gstplugin.c: (gst_plugin_load_file): * gst/gstregistry.c: (gst_registry_scan_path_level): Don't print a g_warning for any failure to load a shared object. Instead, push this down into gstplugin.c, and warn _only_ if we failed to open the module (i.e. failure to link). Avoids warnings on normal, working, non-plugin .so files.
2007-05-11gst/gstplugin.c (gst_plugin_load_file): gst/gstregistry.c (GST_CAT_DEFAULT, ↵Stefan Kost2-7/+23
gst_registry_lookup_feature_locked, gst_r... Original commit message from CVS: * gst/gstplugin.c (gst_plugin_load_file): * gst/gstregistry.c (GST_CAT_DEFAULT, gst_registry_lookup_feature_locked, gst_registry_scan_path_level): Print a g_warning if there was an error when loading a plugins during registry scan. The shuld help beginners starting with gst-plugin template.
2007-05-09gst/: Maintain API and ABI when --disable-parse is used. Now that we have an ↵Peter Kjellerstedt5-36/+42
appropriate error code, we can just retu... Original commit message from CVS: Based on patch by: Peter Kjellerstedt <pkj at axis com> * gst/Makefile.am: * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch): * gst/gstparse.h: * gst/gstutils.c: (gst_parse_bin_from_description): * gst/gstutils.h: Maintain API and ABI when --disable-parse is used. Now that we have an appropriate error code, we can just return NULL and the appropriate error when gst_parse_launch() is used despite it having been disabled (#342564). * tests/check/Makefile.am: * tests/check/pipelines/.cvsignore: * tests/check/pipelines/parse-disabled.c: Make sure these functions exist and return NULL plus a GError when --disable-parse is used.
2007-05-02gst/gstpad.c: Fix documentation as spotted by rg on IRC.Wim Taymans1-1/+1
Original commit message from CVS: * gst/gstpad.c: Fix documentation as spotted by rg on IRC.
2007-04-29gst/gstutils.c: Improve docs for gst_element_{link,unlink}.Stefan Kost1-1/+5
Original commit message from CVS: * gst/gstutils.c: Improve docs for gst_element_{link,unlink}.
2007-04-28Typo fixes; minor docs addition.Tim-Philipp Müller3-9/+11
Original commit message from CVS: * docs/design/part-events.txt: * docs/design/part-overview.txt: * gst/gstevent.c: * gst/gsturi.c: * gst/gsturi.h: * libs/gst/base/gstbasesink.c: Typo fixes; minor docs addition.
2007-04-27API: Add gst_uri_protocol_is_supported(), which checks if an sink or src ↵Sebastian Dröge2-7/+51
that supports a given URI protocol exists. Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gsturi.c: (get_element_factories_from_uri_protocol), (gst_uri_protocol_is_supported), (gst_element_make_from_uri): * gst/gsturi.h: API: Add gst_uri_protocol_is_supported(), which checks if an sink or src that supports a given URI protocol exists.
2007-04-26API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).Tim-Philipp Müller2-4/+53
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc): * gst/gstbuffer.h: * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_buffer_suite): API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
2007-04-26gst/gstregistrybinary.*: Implement no-mmap alternative for registry reading. ↵Stefan Kost2-35/+65
Do code cleanups. Original commit message from CVS: * gst/gstregistrybinary.c: (gst_registry_binary_write_cache), (gst_registry_binary_load_pad_template), (gst_registry_binary_load_plugin), (gst_registry_binary_read_cache): * gst/gstregistrybinary.h: Implement no-mmap alternative for registry reading. Do code cleanups. Add more comments about avoiding strdups for all text data. Comments welcome.
2007-04-25gst/gstregistrybinary.h (GstBinaryPluginElement,Stefan Kost1-6/+20
Original commit message from CVS: * gst/gstregistrybinary.h (GstBinaryPluginElement, GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature, GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature): Comment structs and reformat to fix the build (that stuff should go into a priv. header).
2007-04-25gst/gstregistrybinary.*: Refactor so that we can implement multiple ↵Stefan Kost2-46/+125
features. Add support for Original commit message from CVS: * gst/gstregistrybinary.c: (gst_registry_binary_save_feature), (gst_registry_binary_load_feature): * gst/gstregistrybinary.h: Refactor so that we can implement multiple features. Add support for TypeFindFactory features.
2007-04-23gst/gstbin.c: Fix build with --gst-disable-gst-debugStefan Kost1-22/+22
Original commit message from CVS: * gst/gstbin.c: (gst_bin_element_set_state), (iterator_activate_fold_with_resync), (gst_bin_continue_func), (bin_handle_async_done), (gst_bin_handle_message_func): Fix build with --gst-disable-gst-debug
2007-04-202nd attempt to have a xml-less build as a joined effort of #413123 and #421480.Stefan Kost4-47/+60
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.
2007-04-19gst/parse/: Update the prebuild parser sources.Sebastian Dröge3-49/+52
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.
2007-04-19gst/parse/Makefile.am: And now fix the building of the flex sources. Now ↵Sebastian Dröge1-2/+2
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.
2007-04-19gst/parse/Makefile.am: Now hopefully fix the build failures by setting ↵Sebastian Dröge1-6/+6
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.
2007-04-19gst/parse/Makefile.am: Fix the build by correcting the rule that gave wrong ↵Stefan Kost1-6/+6
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.
2007-04-19gst/parse/Makefile.am: Add correct grammar.tab.h dependency if compiling ↵Sebastian Dröge1-1/+1
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.
2007-04-18gst/parse/Makefile.am: Fix typo and use outdated sources if the flex/bison ↵Sebastian Dröge1-1/+13
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.
2007-04-18gst/parse/: Make the parser reentrant and recursively callable. This ↵Marc-Andre Lureau7-58/+5265
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.
2007-04-18Make --disable-nls to workStefan Kost1-2/+0
Original commit message from CVS: * common/m4/gst-gettext.m4: * gst/gst-i18n-lib.h: Make --disable-nls to work
2007-04-17gst/gstconfig.h.in: Revert previous change that broke the build.Wim Taymans1-6/+1
Original commit message from CVS: * gst/gstconfig.h.in: Revert previous change that broke the build.
2007-04-17Drop libxml2 dependency when building withStefan Kost2-2/+11
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
2007-04-16gst/gstregistrybinary.*: Remove unnecessary <sys/mman.h> include which broke ↵Tim-Philipp Müller2-32/+30
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.
2007-04-13gst/gstelement.c: Don't output the same debug statement twice.Jan Schmidt2-8/+8
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.
2007-04-12gst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).Tim-Philipp Müller2-0/+6
Original commit message from CVS: * gst/gsterror.c: (_gst_core_errors_init): * gst/gsterror.h: API: add GST_CORE_ERROR_DISABLED (#392804).
2007-04-12docs/faq/gst-uninstalled: don't get empty paths on the PATH variablesThomas Vander Stichele1-6/+4
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.
2007-04-09don't format for the uncommon editor width of 84 charactersThomas Vander Stichele1-39/+41
Original commit message from CVS: don't format for the uncommon editor width of 84 characters
2007-04-06gst/gstpipeline.c: Only try to select a different pipeline clock when we ↵Wim Taymans1-12/+31
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.
2007-04-05gst/gstelement.c: Make padtemplates also work when they don't contain %s or %d.Wim Taymans1-3/+12
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.
2007-04-05Improve _adjust_unlocked() so that it overflows less.Wim Taymans2-9/+85
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()
2007-03-29gst/gstclock.c: Move all the debug to the CLOCK category, and associate it ↵Jan Schmidt1-15/+26
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.
2007-03-28gst/gstelement.c: Make gst_element_get_request_pad() create request pads ↵Tim-Philipp Müller1-1/+18
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.
2007-03-23gst/gstpipeline.c: Modify the clock distribution path in PAUSED->PLAYING so ↵Jan Schmidt1-30/+38
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.
2007-03-22gst/gstpad.c: Revert last commit. This needs some more thoughts.Sebastian Dröge1-6/+62
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.
2007-03-22gst/gstpad.c: Check in set_caps if the caps are compatible with the pad and ↵Sebastian Dröge1-62/+6
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.
2007-03-22gst/gstsystemclock.c: Fix anoying regression that survived a few releases. ↵Wim Taymans1-4/+16
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.
2007-03-22gst/gstpad.c: Fix possible deadlock if pad eventfunc is not specified. ↵Wim Taymans1-0/+4
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.
2007-03-21gst/gstbin.c: Prepare for release where we warn against possible app ↵Wim Taymans1-1/+34
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).
2007-03-20gst/gst.c: Fix compilation with registry disabled as spotted by Saur.Wim Taymans1-0/+2
Original commit message from CVS: * gst/gst.c: Fix compilation with registry disabled as spotted by Saur.