1. 03 Nov, 2012 1 commit
  2. 16 Apr, 2011 1 commit
    • Sebastian Dröge's avatar
      pango: Create a new base class for all the elements · 92d10cbb
      Sebastian Dröge authored
      This prevents the ugly hack where the text_sink pad template
      was only added for textoverlay but not for the subclasses.
      
      Also makes this work with the core change that made
      subclasses inherit the templates of their parent class.
      92d10cbb
  3. 24 Aug, 2010 1 commit
    • Chris Shoemaker's avatar
      clockoverlay: only rerender text if time string has changed · 6bd90dc0
      Chris Shoemaker authored
      The textoverlay element will rerender the text string whenever
      overlay sets the 'need_render' flag to TRUE.  Previously, we
      lazily set the flag to TRUE every time the time string was requested.
      Now, we save a copy of the previously given string, and only set
      'need_render' to TRUE if the string has changed.
      
      In my tests with a 30fps video stream, and a time string including
      a seconds field, this change reduced the CPU usage of the clockoverlay
      element from 60% to 5%.
      
      Fixes bug #627780.
      6bd90dc0
  4. 17 Mar, 2010 1 commit
  5. 08 Oct, 2008 1 commit
    • Pavel Zeldin's avatar
      ext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time... · 947ecd72
      Pavel Zeldin authored
      ext/pango/gstclockoverlay.*: API: Add ability to specify format for date/time display by adding a "time-format" prope...
      
      Original commit message from CVS:
      Patch by: Pavel Zeldin <pzeldin at gmail dot com>
      * ext/pango/gstclockoverlay.c: (gst_clock_overlay_render_time),
      (gst_clock_overlay_class_init), (gst_clock_overlay_finalize),
      (gst_clock_overlay_init), (gst_clock_overlay_set_property),
      (gst_clock_overlay_get_property):
      * ext/pango/gstclockoverlay.h:
      API: Add ability to specify format for date/time display by
      adding a "time-format" property.
      Fixes bug #554879.
      947ecd72
  6. 01 Mar, 2006 1 commit
    • Wim Taymans's avatar
      Updated/added documentation. · 81e72d14
      Wim Taymans authored
      Original commit message from CVS:
      * docs/plugins/Makefile.am:
      * docs/plugins/gst-plugins-base-plugins-docs.sgml:
      * docs/plugins/gst-plugins-base-plugins-sections.txt:
      * ext/pango/gstclockoverlay.h:
      * ext/pango/gsttextoverlay.h:
      * ext/pango/gsttextrender.h:
      * ext/pango/gsttimeoverlay.h:
      * ext/theora/gsttheoradec.h:
      * ext/theora/gsttheoraenc.h:
      * ext/theora/theoradec.c:
      * ext/theora/theoraenc.c:
      * gst/audioconvert/gstaudioconvert.h:
      * gst/audiotestsrc/gstaudiotestsrc.h:
      * gst/ffmpegcolorspace/gstffmpegcolorspace.h:
      * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_class_init):
      * gst/tcp/gstmultifdsink.h:
      Updated/added documentation.
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_valign_get_type),
      (gst_text_overlay_halign_get_type),
      (gst_text_overlay_wrap_mode_get_type),
      (gst_text_overlay_base_init), (gst_text_overlay_class_init),
      (gst_text_overlay_init), (gst_text_overlay_set_property),
      (gst_text_overlay_get_property):
      Fix up properties to be enums instead of string to make bindings,
      introspection and automatic GUI creation possible.
      Add getters for the properties.
      81e72d14
  7. 30 Nov, 2005 1 commit
    • Tim-Philipp Müller's avatar
      Port pango-based textoverlay, timeoverlay and textrender to 0.9 and add... · 051d0117
      Tim-Philipp Müller authored
      Port pango-based textoverlay, timeoverlay and textrender to 0.9 and add background shading and text wrapping modes. M...
      
      Original commit message from CVS:
      * configure.ac:
      * ext/Makefile.am:
      * ext/pango/Makefile.am:
      * ext/pango/gstclockoverlay.c: (gst_clock_overlay_base_init),
      (gst_clock_overlay_render_time), (gst_clock_overlay_get_text),
      (gst_clock_overlay_class_init), (gst_clock_overlay_init):
      * ext/pango/gstclockoverlay.h:
      * ext/pango/gsttextoverlay.c: (gst_text_overlay_base_init),
      (gst_text_overlay_get_text), (gst_text_overlay_class_init),
      (gst_text_overlay_finalize), (gst_text_overlay_init),
      (gst_text_overlay_update_wrap_mode), (gst_text_overlay_setcaps),
      (gst_text_overlay_text_pad_linked),
      (gst_text_overlay_text_pad_unlinked),
      (gst_text_overlay_set_property), (gst_text_overlay_getcaps),
      (gst_text_overlay_shade_y), (gst_text_overlay_blit_yuv420),
      (gst_text_overlay_resize_bitmap), (gst_text_overlay_render_text),
      (gst_text_overlay_push_frame), (gst_text_overlay_pop_video),
      (gst_text_overlay_pop_text), (gst_text_overlay_collected),
      (gst_text_overlay_change_state), (plugin_init):
      * ext/pango/gsttextoverlay.h:
      * ext/pango/gsttimeoverlay.c: (gst_time_overlay_base_init),
      (gst_time_overlay_render_time), (gst_time_overlay_get_text),
      (gst_time_overlay_class_init), (gst_time_overlay_init):
      * ext/pango/gsttimeoverlay.h:
      Port pango-based textoverlay, timeoverlay and textrender to 0.9
      and add background shading and text wrapping modes. Make
      timoverlay derive from textoverlay. Also add new clockoverlay
      element.
      051d0117