[gstreamer-bugs] [Bug 341681] [textoverlay] flickering with continuously timestamped text

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Nov 21 10:42:40 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=341681

  GStreamer | gst-plugins-base | Ver: 0.10.x


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.11




------- Comment #5 from Tim-Philipp Müller  2006-11-21 18:41 UTC -------
This should fix it:

 2006-11-21  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/pango/gsttextoverlay.c: (gst_text_overlay_init),
        (gst_text_overlay_text_pad_unlink), (gst_text_overlay_text_event),
        (gst_text_overlay_video_event), (gst_text_overlay_pop_text),
        (gst_text_overlay_text_chain), (gst_text_overlay_video_chain),
        (gst_text_overlay_change_state):
        * ext/pango/gsttextoverlay.h:
          Some textoverlay fixes: for one, in the video chain function,
          actually wait for a text buffer to come in if there is none at the
          moment and there should be one; also, deal more gracefully with
          incoming buffers that do not have a timestamp or duration; discard
          text buffer when not needed any longer. Fixes #341681.

        * tests/check/Makefile.am:
        * tests/check/elements/.cvsignore:
        * tests/check/elements/textoverlay.c:
        (notgst_check_setup_src_pad2), (notgst_check_teardown_src_pad2),
        (setup_textoverlay), (buffer_is_all_black), (create_black_buffer),
        (create_text_buffer), (cleanup_textoverlay), (GST_START_TEST),
        (test_video_waits_for_text_send_text_newsegment_thread),
        (test_video_waits_for_text_shutdown_element),
        (test_render_continuity_push_video_buffers_thread),
        (textoverlay_suite):
          Add some unit tests for textoverlay.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list