[Bug 757292] New: gdkpixbufoverlay: relative-x/y properties
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Oct 29 02:55:26 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757292
Bug ID: 757292
Summary: gdkpixbufoverlay: relative-x/y properties
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-good
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: lists at svrinformatica.it
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 314373
--> https://bugzilla.gnome.org/attachment.cgi?id=314373&action=edit
image that show the problem
please test this pipeline using the provide png
videotestsrc ! gdkpixbufoverlay location=/tmp/pipeline.png overlay-width=200
overlay-height=120 relative-x=0.1 relative-y=0.1 ! xvimagesink
the logs says something like this:
0:00:00.128700446 4858 0x10040a0 DEBUG gdkpixbufoverlay
gstgdkpixbufoverlay.c:588:gst_gdk_pixbuf_overlay_update_composition:<gdkpixbufoverlay0>
overlay rendered: 200 x 120 @ 494,66 (onto 320 x 240)
and no overlay is rendered
changing
overlay->offset_x + (overlay->relative_x * overlay_meta->width);
with
overlay->offset_x + (overlay->relative_x * video_width);
here:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/ext/gdk_pixbuf/gstgdkpixbufoverlay.c#n569
and doing the same for the y
this log is showed
0:00:00.143735692 4866 0xc930a0 DEBUG gdkpixbufoverlay
gstgdkpixbufoverlay.c:591:gst_gdk_pixbuf_overlay_update_composition:<gdkpixbufoverlay0>
overlay rendered: 200 x 120 @ 32,24 (onto 320 x 240)
and the overlay is rendered as expected,
I'm not sure if I have correctly understand how these properties are supposed
to work
please advise if you want a patch or update the docs to be more clear,
thanks
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list