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 743387 - validate: test all the issues in preparation for the port to tracer.
validate: test all the issues in preparation for the port to tracer.
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-devtools
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-01-23 01:07 UTC by Mathieu Duponchelle
Modified: 2018-11-03 11:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
validate: prepare tests for port to tracers backend. (4.38 KB, patch)
2015-01-23 01:07 UTC, Mathieu Duponchelle
accepted-commit_now Details | Review
validate: Add a test case for caps missing field. (5.00 KB, patch)
2015-01-23 01:07 UTC, Mathieu Duponchelle
committed Details | Review
validate: tests more issues with caps. (2.84 KB, patch)
2015-01-23 01:07 UTC, Mathieu Duponchelle
committed Details | Review
validate: prepare tests for port to tracers backend. (4.49 KB, patch)
2015-01-26 17:12 UTC, Mathieu Duponchelle
committed Details | Review

Description Mathieu Duponchelle 2015-01-23 01:07:00 UTC
First batch covers some caps related issues.
Comment 1 Mathieu Duponchelle 2015-01-23 01:07:05 UTC
Created attachment 295247 [details] [review]
validate: prepare tests for port to tracers backend.
Comment 2 Mathieu Duponchelle 2015-01-23 01:07:14 UTC
Created attachment 295248 [details] [review]
validate: Add a test case for caps missing field.

+ Make the fake decoder have video/x-raw caps.
Comment 3 Mathieu Duponchelle 2015-01-23 01:07:24 UTC
Created attachment 295249 [details] [review]
validate: tests more issues with caps.
Comment 4 Thibault Saunier 2015-01-23 12:23:21 UTC
Review of attachment 295247 [details] [review]:

OK

::: validate/tests/check/validate/padmonitor.c
@@ +46,3 @@
+      (GstValidateMonitor *) g_object_get_data (G_OBJECT (bin),
+      "validate-monitor");
+  check_destroyed (bin, NULL, NULL);

You should use the new gst_check_object_destroyed_on_unref function I added in core.
Comment 5 Thibault Saunier 2015-01-23 12:26:08 UTC
Review of attachment 295248 [details] [review]:

OK
Comment 6 Thibault Saunier 2015-01-23 12:26:11 UTC
Review of attachment 295248 [details] [review]:

OK
Comment 7 Thibault Saunier 2015-01-23 12:28:21 UTC
Review of attachment 295249 [details] [review]:

OK

::: validate/tests/check/validate/padmonitor.c
@@ +825,3 @@
+  fail_unless (gst_pad_push_event (srcpad,
+          gst_event_new_caps (gst_caps_from_string
+              ("video/x-raw, format=AYUV, framerate=24/1, width=(fraction)320, height=240, pixel-aspect-ratio=1/1"))));

Would be easier to read if you put 320/1, anyway :)
Comment 8 Thibault Saunier 2015-01-23 12:28:24 UTC
Review of attachment 295249 [details] [review]:

OK

::: validate/tests/check/validate/padmonitor.c
@@ +825,3 @@
+  fail_unless (gst_pad_push_event (srcpad,
+          gst_event_new_caps (gst_caps_from_string
+              ("video/x-raw, format=AYUV, framerate=24/1, width=(fraction)320, height=240, pixel-aspect-ratio=1/1"))));

Would be easier to read if you put 320/1, anyway :)
Comment 9 Mathieu Duponchelle 2015-01-26 17:12:18 UTC
Created attachment 295469 [details] [review]
validate: prepare tests for port to tracers backend.
Comment 10 Mathieu Duponchelle 2015-01-26 17:13:10 UTC
(In reply to comment #4)
> Review of attachment 295247 [details] [review]:
> 
> OK
> 
> ::: validate/tests/check/validate/padmonitor.c
> @@ +46,3 @@
> +      (GstValidateMonitor *) g_object_get_data (G_OBJECT (bin),
> +      "validate-monitor");
> +  check_destroyed (bin, NULL, NULL);
> 
> You should use the new gst_check_object_destroyed_on_unref function I added in
> core.

Actually no real need for that, one simply needs to check the refcount before unreffing in this case.
Comment 11 Mathieu Duponchelle 2015-01-30 19:24:37 UTC
Review of attachment 295469 [details] [review]:

commit 887349167b8c2f88befaa52e3e06cc9130b8fd83
Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Date:   Thu Jan 22 22:29:10 2015 +0100

    validate: prepare tests for port to tracers backend.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743387
Comment 12 Mathieu Duponchelle 2015-01-30 19:25:04 UTC
Review of attachment 295248 [details] [review]:

commit bf2c949aee1761965e7a411d838a6ab806f99963
Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Date:   Fri Jan 23 01:40:59 2015 +0100

    validate: Add a test case for caps missing field.
    
    + Make the fake decoder have video/x-raw caps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743387
Comment 13 Mathieu Duponchelle 2015-01-30 19:25:26 UTC
Review of attachment 295249 [details] [review]:

commit 89048ad862a4038631eba42d913ab4594dfc0fd5
Author: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Date:   Fri Jan 23 02:04:47 2015 +0100

    validate: tests more issues with caps.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743387
Comment 14 GStreamer system administrator 2018-11-03 11:06:12 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-devtools/issues/9.