1. 15 Jan, 2007 1 commit
    • Stefan Kost's avatar
      gst/gstregistrybinary.*: use glib types, cleanup comments, impement interfaces and uri-types · 616cb186
      Stefan Kost authored
      Original commit message from CVS:
      * gst/gstregistrybinary.c: (gst_registry_binary_write),
      (gst_registry_binary_initialize_magic),
      (gst_registry_binary_save_string), (gst_registry_binary_make_data),
      (gst_registry_binary_save_pad_template),
      (gst_registry_binary_save_feature),
      (gst_registry_binary_save_plugin),
      (gst_registry_binary_write_cache),
      (gst_registry_binary_check_magic),
      (gst_registry_binary_load_pad_template),
      (gst_registry_binary_load_feature),
      (gst_registry_binary_load_plugin),
      (gst_registry_binary_read_cache):
      * gst/gstregistrybinary.h:
      use glib types, cleanup comments, impement interfaces and uri-types
      616cb186
  2. 13 Jan, 2007 1 commit
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow getrange() to... · 63693a68
      Andy Wingo Wingo authored
      gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow getrange() to return buffers with other caps, while we fi...
      
      Original commit message from CVS:
      2007-01-13  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
      getrange() to return buffers with other caps, while we fix
      demuxers and typefind, or otherwise change part-negotiation.txt.
      63693a68
  3. 12 Jan, 2007 8 commits
    • Andy Wingo Wingo's avatar
      libs/gst/base/gstbasetransform.c (gst_base_transform_activate): Factor... · 3482d798
      Andy Wingo Wingo authored
      libs/gst/base/gstbasetransform.c (gst_base_transform_activate): Factor start/stop into this private function instead ...
      
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
      Factor start/stop into this private function instead of partially
      in activate functions and partially in the change_state function.
      Fixes setup before the element has changed from READY->PAUSED, as
      is the case in pull-mode pipelines.
      (gst_base_transform_sink_activate_push)
      (gst_base_transform_src_activate_pull): Refactor to use
      gst_base_transform_activate().
      (gst_base_transform_change_state): Removed, not needed any more.
      
      * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
      Truncate before fixating.
      3482d798
    • Andy Wingo Wingo's avatar
      libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull): Don't set_caps()... · 5cd94e7a
      Andy Wingo Wingo authored
      libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull): Don't set_caps() if the result of fixating is ANY, as it'...
      
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
      Don't set_caps() if the result of fixating is ANY, as it's not
      supported, and not necessary in the case of a link with no
      template caps on either side. Fixes tests/check/libs/basesrc in
      some pull-mode tests.
      5cd94e7a
    • Andy Wingo Wingo's avatar
      libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):... · a1737687
      Andy Wingo Wingo authored
      libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate): (gst_base_transform_init, gst_base_transform_sink_activa...
      
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
      (gst_base_transform_init, gst_base_transform_sink_activate_push)
      (gst_base_transform_src_activate_pull):
      Track the activation mode.
      (gst_base_transform_setcaps): In pull mode, when activating the
      src pad, after activating the sink pad, activate the sink pad's
      peer, as discussed in part-negotiation.txt.
      
      * libs/gst/base/gstbasesrc.h:
      * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
      vmethod, as in basesink.
      
      * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
      
      * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
      mode, first proxy the setcaps to the peer pad.
      (gst_base_sink_pad_fixate): Add a fixate function that calls the
      new fixate vmethod.
      (gst_base_sink_default_activate_pull): Rename from
      gst_base_sink_activate_pull.
      (gst_base_sink_negotiate_pull): New function, performs negotiation
      in pull mode before calling ::activate_pull().
      (gst_base_sink_pad_activate_pull): Actually call the activate_pull
      vmethod instead of the default implementation. I have no idea how
      this worked before. Negotiate before calling activate_pull.
      a1737687
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked sink pads in... · 871e8074
      Andy Wingo Wingo authored
      gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked sink pads in pull mode. In addition to being correc...
      
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
      sink pads in pull mode. In addition to being correct, fixes
      filesrc ! decodebin ! identity ! fakesink.
      (gst_pad_get_range, gst_pad_pull_range): Don't call
      gst_pad_set_caps() if the caps changes; instead error out with
      GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
      871e8074
    • Andy Wingo Wingo's avatar
      docs/design/part-negotiation.txt: Update with more policy. · 10d3b025
      Andy Wingo Wingo authored
      Original commit message from CVS:
      2007-01-12  Andy Wingo  <wingo@pobox.com>
      
      * docs/design/part-negotiation.txt: Update with more policy.
      10d3b025
    • Tim-Philipp Müller's avatar
      libs/gst/check/: Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it belongs. · 7ce34c61
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * libs/gst/check/gstbufferstraw.h:
      * libs/gst/check/gstcheck.h:
      Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
      belongs.
      7ce34c61
    • Tim-Philipp Müller's avatar
      tests/check/: Add minimal unit test for beforementioned GstTagSetter bug. · 52a29f5b
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tests/check/Makefile.am:
      * tests/check/gst/.cvsignore:
      * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
      (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
      (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
      (GST_START_TEST), (gst_tag_setter_suite):
      Add minimal unit test for beforementioned GstTagSetter bug.
      52a29f5b
    • René Stadler's avatar
      gst/gsttagsetter.c: gst_tag_list_merge() returns a new list, so it's not the... · 51b5a406
      René Stadler authored
      gst/gsttagsetter.c: gst_tag_list_merge() returns a new list, so it's not the best idea to ingore its return value. Ef...
      
      Original commit message from CVS:
      Patch by: René Stadler <mail at renestadler dot de>
      * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
      gst_tag_list_merge() returns a new list, so it's not the best idea
      to ingore its return value. Effectively meant that tags could only
      be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
      Also add function guard to require a non-NULL taglist as input (has
      always been so due to gst_tag_list_copy(), just making it explicit).
      51b5a406
  4. 11 Jan, 2007 4 commits
    • Tim-Philipp Müller's avatar
      docs/random/draft-missing-plugins.txt: Some additions: mention new API that is... · 297db8e2
      Tim-Philipp Müller authored
      docs/random/draft-missing-plugins.txt: Some additions: mention new API that is supposed to be used at the various sta...
      
      Original commit message from CVS:
      * docs/random/draft-missing-plugins.txt:
      Some additions: mention new API that is supposed to be used at the
      various stages; short blob about new gst-inspect introspection
      option; mention potential future problem with plugins that have
      a dynamic list of elements (such as ladspa, pitfdll, libvisual).
      297db8e2
    • Tim-Philipp Müller's avatar
      tools/gst-inspect.c: Add --print-plugin-auto-install-info option to... · 26b38870
      Tim-Philipp Müller authored
      tools/gst-inspect.c: Add --print-plugin-auto-install-info option to gst-inspect, so we can introspect plugin files an...
      
      Original commit message from CVS:
      * tools/gst-inspect.c:
      (print_plugin_automatic_install_info_codecs),
      (print_plugin_automatic_install_info_protocols),
      (print_plugin_automatic_install_info), (main):
      Add --print-plugin-auto-install-info option to gst-inspect, so we can
      introspect plugin files and get machine-parsable output that corresponds
      to the last bit of the missing-plugin installer string (small gotcha:
      doesn't take into account ranks).
      26b38870
    • Stefan Kost's avatar
      commit binary registry (disabled by default, see #359653) · ebf0c9d3
      Stefan Kost authored
      Original commit message from CVS:
      * configure.ac:
      * docs/gst/gstreamer-sections.txt:
      * gst/Makefile.am:
      * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
      (gst_registry_lookup_locked):
      * gst/gstregistry.h:
      * gst/gstregistrybinary.c: (gst_registry_binary_write),
      (gst_registry_binary_initialize_magic),
      (gst_registry_binary_save_string),
      (gst_registry_binary_save_pad_template),
      (gst_registry_binary_save_feature),
      (gst_registry_binary_save_plugin),
      (gst_registry_binary_write_cache),
      (gst_registry_binary_check_magic),
      (gst_registry_binary_load_pad_template),
      (gst_registry_binary_load_feature),
      (gst_registry_binary_load_plugin),
      (gst_registry_binary_read_cache):
      * gst/gstregistrybinary.h:
      * gst/gstregistryxml.c: (load_feature),
      (gst_registry_xml_read_cache):
      commit binary registry (disabled by default, see #359653)
      ebf0c9d3
    • Tim-Philipp Müller's avatar
      tests/check/gst/gstpad.c: Fix 'make check' too. · 4a911a81
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * tests/check/gst/gstpad.c: (test_get_allowed_caps):
      Fix 'make check' too.
      4a911a81
  5. 10 Jan, 2007 4 commits
  6. 09 Jan, 2007 4 commits
  7. 08 Jan, 2007 2 commits
    • Tim-Philipp Müller's avatar
      API: add gst_update_registry() (#391296). · 702fbf77
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * docs/gst/gstreamer-sections.txt:
      * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
      (init_post), (gst_deinit), (gst_update_registry):
      * gst/gst.h:
      API: add gst_update_registry() (#391296).
      * tests/check/Makefile.am:
      * tests/check/gst/gstregistry.c:
      * tests/check/gst/.cvsignore:
      Simple unit test for the above.
      702fbf77
    • Tim-Philipp Müller's avatar
      gst/gstregistry.c: Plugin extension on HP-UX is .sl, add that to the list of... · 2991d5cd
      Tim-Philipp Müller authored
      gst/gstregistry.c: Plugin extension on HP-UX is .sl, add that to the list of approved plugin extensions (see #393796).
      
      Original commit message from CVS:
      * gst/gstregistry.c: (gst_registry_scan_path_level):
      Plugin extension on HP-UX is .sl, add that to the list of approved
      plugin extensions (see #393796).
      * tests/check/gst/gstpad.c: (GST_START_TEST):
      ulong => gulong. Fixes compilation with HP-UX compiler.
      * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
      Fix compilation if valgrind headers are not available.
      2991d5cd
  8. 07 Jan, 2007 1 commit
  9. 06 Jan, 2007 2 commits
    • Andy Wingo Wingo's avatar
      libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod, activate_pull(),... · 4518a5c6
      Andy Wingo Wingo authored
      libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod, activate_pull(), providing for a way to specialize the pro...
      
      Original commit message from CVS:
      2007-01-06  Andy Wingo  <wingo@pobox.com>
      
      * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
      activate_pull(), providing for a way to specialize the process of
      spawning a thread to pull on the sink pad. There is a default
      implementation.
      
      * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
      (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
      (gst_base_sink_init): Renamed pad activation functions (inserting
      "_pad" in their names). Refactor to use the new activate_pull
      vmethod, as appropriate.
      (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
      default activate_pull function to start a task pulling from the
      sink pad, as before.
      4518a5c6
    • Andy Wingo Wingo's avatar
      gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps on the pads if... · 77472ddb
      Andy Wingo Wingo authored
      gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps on the pads if necessary, as in push()/chain(). Update...
      
      Original commit message from CVS:
      2007-01-06  Andy Wingo  <wingo@pobox.com>
      
      * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
      on the pads if necessary, as in push()/chain(). Update docs.
      Shouldn't affect existing pull() usage as it is currently only
      being used on buffers without caps.
      77472ddb
  10. 05 Jan, 2007 4 commits
    • Tim-Philipp Müller's avatar
      gst/gst.c: Call g_thread_init() first thing in gst_init() / gst_check_init(). · 3001f88c
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
      (init_pre):
      Call g_thread_init() first thing in gst_init() / gst_check_init().
      When initialisation is done via gst_init_get_option_group() and
      GOption parsing, issue a warning if the GLib thread system has not
      been initialised yet by the time gst_init_get_option_group() is
      called, as it's quite likely other GLib functions such as
      g_option_context_new() have been called already then, and
      g_thread_init() must be called before any other GLib function. The
      application in question must be fixed in that case, since memory
      corruption might happen otherwise.
      We issue the warning because even if the GLib folks decide to work
      around the problem on their end in future, this is still an issue
      with all GLib versions >= 2.10.0, so we should warn until we depend
      on a GLib version we know to be safe.
      Update documentation as well.
      Closes bug #391278.
      3001f88c
    • Tim-Philipp Müller's avatar
      tools/: Call g_thread_init() really really early, before any other GLib... · b3eafe67
      Tim-Philipp Müller authored
      tools/: Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion o...
      
      Original commit message from CVS:
      * tools/gst-inspect.c: (main):
      * tools/gst-launch.c: (main):
      * tools/gst-typefind.c: (main):
      * tools/gst-xmlinspect.c: (main):
      Call g_thread_init() really really early, before any other GLib
      function (see #342564 and recent discussion on gtk-devel-list).
      b3eafe67
    • Vincent Torri's avatar
      gst/: On win32, all the __declspec stuff for symbol exporting is apparently... · 47d2b0a9
      Vincent Torri authored
      gst/: On win32, all the __declspec stuff for symbol exporting is apparently only needed with MSVC, but doesn't work w...
      
      Original commit message from CVS:
      Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
      * gst/gst_private.h:
      * gst/gstconfig.h.in:
      * gst/gstinfo.h:
      On win32, all the __declspec stuff for symbol exporting is
      apparently only needed with MSVC, but doesn't work with MingW.
      Fixes compilation with MingW and #391909.
      47d2b0a9
    • Tim-Philipp Müller's avatar
      libs/gst/base/gstbasesrc.c: Change some GST_ERROR_OBJECT that aren't really errors to · c84a427f
      Tim-Philipp Müller authored
      Original commit message from CVS:
      * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
      Change some GST_ERROR_OBJECT that aren't really errors to
      GST_WARNING_OBJECT in order to reduce terminal spam.
      c84a427f
  11. 04 Jan, 2007 2 commits
  12. 02 Jan, 2007 4 commits
  13. 26 Dec, 2006 2 commits
  14. 21 Dec, 2006 1 commit