After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509391 - delayed set_property for gst-launch
delayed set_property for gst-launch
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: 0.10.18
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-14 15:11 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2008-03-23 15:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
implement delayed set (3.30 KB, patch)
2008-01-14 15:23 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
none Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-01-14 15:11:51 UTC
when using gst-launch with child-proxy its needed to be able to set properties on objects that are going to be created

for a practical example: with the patch one can do set the xpos/ypos for videomixer-pads on the commandline like this:

gst-launch videomixer name=mix sink_0::xpos=100 sink_0::ypos=100 ! ffmpegcolorspace ! xvimagesink \
\
videotestsrc pattern=1 ! video/x-raw-yuv, framerate=\(fraction\)10/1, width=100, height=100 ! videobox border-alpha=0 alpha=0.5 top=-70 bottom=-70 right=-220 ! mix.sink_0 \
\
videotestsrc ! video/x-raw-yuv, framerate=\(fraction\)5/1, width=320, height=240 ! alpha alpha=0.7 ! mix.sink_1
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-01-14 15:23:20 UTC
Created attachment 102823 [details] [review]
implement delayed set
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-03-23 15:14:55 UTC
2008-02-01  Stefan Kost  <ensonic@users.sf.net>

	* gst/parse/grammar.tab.pre.c:
	* gst/parse/grammar.tab.pre.h:
	* gst/parse/grammar.y:
	* gst/parse/lex._gst_parse_yy.pre.c:
	  Add delayed set-property. This allows to set properties on dynamicaly
	  created objects (pads in videomxer). Fixes #509391.