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 666247 - teletextdec: add cache navigation functions
teletextdec: add cache navigation functions
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-15 12:29 UTC by Thomas Löwe
Modified: 2018-11-03 13:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
teletextdec.patch (6.76 KB, patch)
2011-12-15 12:30 UTC, Thomas Löwe
none Details | Review
add cache navigation functions, port to 1.0 (7.23 KB, patch)
2015-09-22 08:52 UTC, Thomas Löwe
none Details | Review
add cache navigation functions, port to 1.0 (7.06 KB, patch)
2015-09-23 07:57 UTC, Thomas Löwe
none Details | Review
add cache navigation functions, port to 1.0 (7.71 KB, patch)
2015-09-24 07:26 UTC, Thomas Löwe
none Details | Review
add cache navigation functions (7.84 KB, patch)
2016-04-18 10:26 UTC, Thomas Löwe
none Details | Review
add cache navigation functions via navigation interface (7.59 KB, patch)
2016-04-19 14:13 UTC, Thomas Löwe
none Details | Review

Description Thomas Löwe 2011-12-15 12:29:10 UTC
At the moment you have to set the page/subpage directly and you can't simply zap through the cached pages or subpages.

This patch add an "navigate" property with the values

0: show next cached page
1: show prev cached page
2: show next cached subpage
3: show prev cached subpage

to make teletextdec more user-friendly.
Comment 1 Thomas Löwe 2011-12-15 12:30:21 UTC
Created attachment 203564 [details] [review]
teletextdec.patch
Comment 2 Vincent Penquerc'h 2012-01-17 14:53:09 UTC
A quick look through the patch:
- could you please post a git fotmat-patch version, which will include your authorship information as well as correct indentation
- the new property should be made an enum, rather than an int
Comment 3 Akhil Laddha 2012-02-29 08:42:33 UTC
Thomas, ping, did you rework on patch as per review comments ?
Comment 4 Akhil Laddha 2012-06-18 16:58:23 UTC
Thomas, ping
Comment 5 Thomas Löwe 2012-06-18 17:03:28 UTC
No, sorry. I don't use it anymore...
Comment 6 Tobias Mueller 2012-10-23 12:03:26 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 7 Tim-Philipp Müller 2012-10-23 12:14:08 UTC
Tobias: please don't close bugs with patches, just because the original author doesn't want to rework them. We might still want to take them.
Comment 8 Tobias Mueller 2012-10-23 12:17:44 UTC
Then the appropriate status is likely to be NEW.
Comment 9 Thomas Löwe 2015-09-22 08:52:35 UTC
Created attachment 311832 [details] [review]
add cache navigation functions, port to 1.0

This patch requires https://bugzilla.gnome.org/show_bug.cgi?id=733819 first!

- navigate property changed to enum
Comment 10 Thomas Löwe 2015-09-23 07:57:36 UTC
Created attachment 311925 [details] [review]
add cache navigation functions, port to 1.0

use existing page_update instead of own routine
Comment 11 Thomas Löwe 2015-09-24 07:26:34 UTC
Created attachment 312003 [details] [review]
add cache navigation functions, port to 1.0

Sorry, subpage scan was swapped. Hope it's the last patch now... ;-)
Comment 12 Thomas Löwe 2016-01-04 09:47:33 UTC
Any news here?

Should I create a new diff against current git version?
Comment 13 Sebastian Dröge (slomo) 2016-04-18 07:27:34 UTC
Review of attachment 312003 [details] [review]:

Please run gst-indent over your patches.

This new property is not really a "property" per se. It seems like this is better handled by the GstNavigation interface than properties.
Comment 14 Thomas Löwe 2016-04-18 10:26:27 UTC
Created attachment 326238 [details] [review]
add cache navigation functions

patch against current git and run gst-indent
Comment 15 Thomas Löwe 2016-04-18 10:47:06 UTC
Hi Sebastian,

thanks for looking at this.

I never used the GstNavigation interface, so I can't say anything... :(

Thomas
Comment 16 Sebastian Dröge (slomo) 2016-04-18 11:26:44 UTC
It is what is used for DVD menus for example, and most video sinks will e.g. send navigation events on mouse move/click, cursor keys, etc.

Basically you would handle the navigation events in the element, and could map e.g. GST_NAVIGATION_COMMAND_LEFT

See https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstnavigation.html
Comment 17 Thomas Löwe 2016-04-18 13:43:21 UTC
Thanks for the hint.

Will try to rewrite the patch, but don't know when I've time for it.
Comment 18 Thomas Löwe 2016-04-19 14:13:41 UTC
Created attachment 326324 [details] [review]
add cache navigation functions via navigation interface

Ok, here is the first try to implement it via the gstnavigation interface.

Hope I understand this right, at least it works here like before via the properties version.

GST_NAVIGATION_COMMAND_UP: show next cached page
GST_NAVIGATION_COMMAND_DOWN: show prev cached page
GST_NAVIGATION_COMMAND_RIGHT: show next cached subpage
GST_NAVIGATION_COMMAND_LEFT: show prev cached subpage
Comment 19 GStreamer system administrator 2018-11-03 13:09:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/54.