GNOME Bugzilla – Bug 731248
Enhance and rename ges_clip_set_priority and add tests to it
Last modified: 2014-09-23 09:16:08 UTC
This method is porly named and has currently now unit tests
Created attachment 277916 [details] [review] tests: Check ges_clip_set_position behaviour + Minor fix to handle properly the feature when clip is not in any layer
Created attachment 277917 [details] [review] clip: Rename set_top_effect_priority to set_top_effect_position Keeping the old method to not break the API but removing it from the documentation as users should use the new method (which is the exact same with a better naming)
Created attachment 277918 [details] [review] clip: Fix the ges_clip_set_position function And enhance the new test
Created attachment 277919 [details] [review] clip: Add test for effects priorities
Created attachment 278017 [details] [review] clip: Fix the ges_clip_set_position function And enhance the new test
Review of attachment 277916 [details] [review]: ::: tests/check/ges/clip.c @@ +461,3 @@ GES_TIMELINE_ELEMENT (effect2))); + fail_unless_equals_int (MIN_GNL_PRIO + 0, _PRIORITY (effect)); Adding 0 seems completely necessary :P
Review of attachment 277917 [details] [review]: Not sure I like the "position" naming, seems a little vague to me ?
Review of attachment 277919 [details] [review]: OK
Review of attachment 278017 [details] [review]: Commit now when set_position -> set_index is done
Attachment 277916 [details] pushed as 2db5368 - tests: Check ges_clip_set_position behaviour Attachment 277919 [details] pushed as 6c717b2 - clip: Add test for effects priorities Attachment 278017 [details] pushed as 03c87db - clip: Fix the ges_clip_set_position function