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 740726 - track: [API]: ges_track_update_restriction_caps.
track: [API]: ges_track_update_restriction_caps.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
unspecified
Other All
: Normal normal
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 740563
 
 
Reported: 2014-11-26 04:30 UTC by Mathieu Duponchelle
Modified: 2015-06-24 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
track: [API]: ges_track_update_restriction_caps. (11.20 KB, patch)
2014-11-26 04:30 UTC, Mathieu Duponchelle
reviewed Details | Review
track: [API]: ges_track_update_restriction_caps. (11.02 KB, patch)
2014-11-26 18:07 UTC, Mathieu Duponchelle
none Details | Review
track: [API]: ges_track_update_restriction_caps. (10.86 KB, patch)
2014-11-26 18:08 UTC, Mathieu Duponchelle
none Details | Review
track: [API]: ges_track_update_restriction_caps. (5.80 KB, patch)
2014-11-26 19:35 UTC, Mathieu Duponchelle
committed Details | Review

Description Mathieu Duponchelle 2014-11-26 04:30:03 UTC
+ And specify default restriction caps for audio and video tracks.
+ Add ges_track_set_restriction_caps to the sections, it was missing.
Comment 1 Mathieu Duponchelle 2014-11-26 04:30:10 UTC
Created attachment 291515 [details] [review]
track: [API]: ges_track_update_restriction_caps.
Comment 2 Thibault Saunier 2014-11-26 09:05:47 UTC
Review of attachment 291515 [details] [review]:

Looks good in overall, but I really think we do not want to force caps for video, we will discuss that on IRC anyway.

::: ges/ges-track.c
@@ +729,3 @@
 }
 
+

Many spaces here

::: tests/check/ges/track.c
@@ +1,2 @@
+/* GStreamer Editing Services
+ * Copyright (C) 2010 Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>

Back to the past? :)
Comment 3 Mathieu Duponchelle 2014-11-26 18:07:07 UTC
Created attachment 291575 [details] [review]
track: [API]: ges_track_update_restriction_caps.

+ And specify default restriction caps for audio and video tracks.
+ Add ges_track_set_restriction_caps to the sections, it was missing.
Comment 4 Mathieu Duponchelle 2014-11-26 18:08:53 UTC
Created attachment 291576 [details] [review]
track: [API]: ges_track_update_restriction_caps.

+ And specify default restriction caps for audio and video tracks.
+ Add ges_track_set_restriction_caps to the sections, it was missing.
Comment 5 Mathieu Duponchelle 2014-11-26 19:35:51 UTC
Created attachment 291583 [details] [review]
track: [API]: ges_track_update_restriction_caps.

+ And specify default restriction caps for audio tracks.
+ Add ges_track_set_restriction_caps to the sections, it
  was missing.
Comment 6 Thibault Saunier 2014-11-27 00:06:28 UTC
Review of attachment 291583 [details] [review]:

Forgot to add the track.c file in the tests?
Comment 7 Mathieu Duponchelle 2014-12-05 21:16:58 UTC
commit f85c463b9397903895aaa46a67f272a5948b8f7b
Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Date:   Wed Nov 26 20:34:24 2014 +0100

    track: [API]: ges_track_update_restriction_caps.
    
    + And specify default restriction caps for audio tracks.
    + Add ges_track_set_restriction_caps to the sections, it
      was missing.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=740726

But I forgot to add the test before pushing, and I can't find it in my stashes anymore :( It passed is all I can say :)
Comment 8 Mathieu Duponchelle 2014-12-05 21:20:15 UTC
commit d109c37343cbbc5a277f0bf9f942db251f23c780
Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Date:   Fri Dec 5 22:19:32 2014 +0100

    check/ges/track: add forgotten test file.
Comment 9 Mathieu Duponchelle 2014-12-05 21:20:29 UTC
Review of attachment 291583 [details] [review]:

commited