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 752394 - objects naming problem when extracting GESTimeline from GESProject
objects naming problem when extracting GESTimeline from GESProject
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-14 23:19 UTC by Kyrylo V. Polezhaiev
Modified: 2015-07-15 16:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Kyrylo V. Polezhaiev 2015-07-14 23:19:54 UTC
Objects already in a timeline can't be renamed. That what's the warning says. And elements obviously shouldn't have same name. Even if I specify different names for several textoverlays in same clip I will have this warning in my console.
Comment 1 Thibault Saunier 2015-07-15 07:42:49 UTC
I guess you are not giving different names, could you show how to reproduce?

You should maybe let GES handle the naming as it will handle it all for you (unless you want to give specific names for some objects).
Comment 2 Kyrylo V. Polezhaiev 2015-07-15 14:29:24 UTC
Okay, let's use my favourite "Just like cucumber" test:
https://bug752385.bugzilla-attachments.gnome.org/attachment.cgi?id=307425

There are 3 clips with names specified in properties: name=(string)textoverlay1, name=(string)textoverlay2 and name=(string)textoverlay3.

ges-launch-1.0 will show you something like this for that test:

    0:00:00.090792028 10747      0x1431750 ERROR            gestimeline ges-timeline.c:2531:timeline_add_element:<gestimeline0> textoverlay1 Already in the timeline <GESTextOverlayClip@0x13a4760>
    0:00:00.100168835 10747      0x1431750 ERROR            gestimeline ges-timeline.c:2531:timeline_add_element:<gestimeline0> textoverlay2 Already in the timeline <GESTextOverlayClip@0x13a4af0>

However, no visible problems will appear. Let's get rid of this warnings.
Comment 3 Thibault Saunier 2015-07-15 15:01:27 UTC
You set by hand "name=(string)textoverlay1" for the clip overlays? They should 'naturally' be called name=(string)textoverlayclip1

The problem here is that those name clash with the GESTextOverlay (GESTrackElement) default names that will be called ... textoverlayX.
Comment 4 Kyrylo V. Polezhaiev 2015-07-15 16:50:15 UTC
Understood, strange. I can not see clips in pipeline.
I will name textoverlayclips in correct way.