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 673714 - Saving/loading projects with empty timeline doesn't work [pitivi]
Saving/loading projects with empty timeline doesn't work [pitivi]
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Linux
: Normal normal
: 1.2.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-08 05:37 UTC by vladimir.rudoy
Modified: 2013-09-24 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for GESFormatter to allow saving projects with empty timeline (1.16 KB, patch)
2012-04-08 05:38 UTC, vladimir.rudoy
none Details | Review
Patch for GESPitiviFormatter to allow loading of projects with empty timeline (1.38 KB, patch)
2012-04-08 05:39 UTC, vladimir.rudoy
none Details | Review

Description vladimir.rudoy 2012-04-08 05:37:27 UTC
Because there is an assert in ges-formatter.c, GES doesn't allow saving projects with empty timeline. Besides it, ges-pitivi-formatter emitts "project-loaded" signal after last track object is loade, so if there are no track objects this signal is never emitted.
Comment 1 vladimir.rudoy 2012-04-08 05:38:10 UTC
Created attachment 211566 [details] [review]
Patch for GESFormatter to allow saving projects with empty timeline
Comment 2 vladimir.rudoy 2012-04-08 05:39:23 UTC
Created attachment 211567 [details] [review]
Patch for GESPitiviFormatter to allow loading of projects with empty timeline
Comment 3 Thibault Saunier 2012-07-02 00:09:53 UTC
commit 963cce240cf59531faad010ac17a8b49fd2ec091
Author: Volodymyr Rudyi <vladimir.rudoy@gmail.com>
Date:   Sun Apr 8 00:30:03 2012 +0300

    ges-pitivi-formatter: Fixed loading of projects with empty timeline
    
    Because 'project-loaded' signal was triggered from track object loading
    callback in case with projects that have empty timeline this signal was
    never emitted.

commit b102df2d4d35fa48500b684407c081a1d848a6e6
Author: Volodymyr Rudyi <vladimir.rudoy@gmail.com>
Date:   Sun Apr 8 00:08:43 2012 +0300

    ges-formatter: Removed assert to allow saving projects with empty timeline
    
    Removed assert in ges-formatter.c to allow saving projects with empty 
timeline.

Thanks :)