[gstreamer-bugs] [Bug 503743] New: the dfbvideosink does not handle external surface correctly

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 15 06:09:40 PST 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=503743

  GStreamer | gst-plugins-bad | Ver: 0.10.4
           Summary: the dfbvideosink does not handle external surface
                    correctly
           Product: GStreamer
           Version: 0.10.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: joyious at 163.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,

I'm using gstreamer and DirectFB to create a media player on a ARM11 board.

now I found if i create a surface in my application and pass this surface to
dfbvideosink, it's very slow on my board.and if i let dfbvideosink to create
the surface itself, it's faster.

then i checked the source code in dfbvideosink.c, and found those: 
1. in  gst_dfbvideosink_setup()  it will not  get  dirctFB initialized  if it's
a external surface. just copy some configuation from the ext surface,
2, in  gst_dfbvideosink_surface_create()  , it will not create any surface is
DirectFB is not initialized,
3, in gst_dfbvideosink_show_frame(), it will check the buffer has surface or
not to decide use Blit or mem_cpy. since using the external surface do not
cause a directfb initialized and then no surface created in buffer. mem_cpy is
chosen. this cause the video playback slower.

I think dfbvideosink should check the external surface support blit or not, if
yes,it should use blit to accelarate.

could you check and fix this?

Best Regards
Joyious


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=503743.




More information about the Gstreamer-bugs mailing list