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 166785 - [PATCH] New plugin: scroller
[PATCH] New plugin: scroller
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on: 166783
Blocks:
 
 
Reported: 2005-02-09 13:53 UTC by Gergely Nagy
Modified: 2005-04-14 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch implementing the plugin (26.75 KB, patch)
2005-02-09 13:55 UTC, Gergely Nagy
needs-work Details | Review

Description Gergely Nagy 2005-02-09 13:53:47 UTC
When we can mix arbitrary video buffers onto another, and the mixer element is
pretty flexible, as a simple demonstration, one can do a scroller element. Onto
its sinkpad, one connects the foreground, onto the srcpad, the mixer, and the
scroller element fiddles the xpos and ypos properties of the mixer element.

That is what this plugin does.

It is implemented as a base class, on top of which I built two simple scrollers
(bouncingscroller, which makes the buffer scroll from one position to another
and then back; and loopingscroller which scrolls from one position to another,
then jumps to the starting position and starts again).

Ideas on how to make it better are welcome (I couldn't find a way to remove the
requirement that scroller's srcpad must be linked to a mixer element... it would
be nice if one could insert another element inbetween...).

The plugin was developed for the imagemixer element I submitted in bug #166783.
Comment 1 Gergely Nagy 2005-02-09 13:55:17 UTC
Created attachment 37241 [details] [review]
Patch implementing the plugin

In case this gets applied, please preserve the comment block at the end of the
sources (or at least, the arch-tag line), so that my version control system
does not get confused when I sync to CVS. Thanks!
Comment 2 Gergely Nagy 2005-02-17 00:34:28 UTC
I figured it would probably better to implement this by subclassing imagemixer..
I'll do that when time permits, then submit a new patch.
Comment 3 Ronald Bultje 2005-03-25 19:15:35 UTC
Marking patch as such for the patch-bug-bots. :).
Comment 4 Gergely Nagy 2005-04-14 11:43:05 UTC
Since I submitted this, I came to the conclusion that scrolling is probably best
implemented on the application level, and not as a gstreamer plugin.

The rationale is that the application has way more information at hand about how
to do the scrolling, and when the merge position can be set on the mixer
element, it is pretty trivial to alter that property from time to time.

Therefore, I'd like to close this report with a NOTABUG resolution. Any
objections? (Probably none, but still :)
Comment 5 Ronald Bultje 2005-04-14 12:40:26 UTC
Allrighty then, probably a good idea. It was very specific anyway.