[Bug 731704] APP_PLATFORM android-19 gst_caps_new_any wrong

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 22 04:54:02 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731704
  GStreamer | gstreamer (core) | 1.x

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.3.3

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-06-22 11:53:56 UTC ---
Nice catch, thanks for the bug report!

Most people seem to just do

   if (gst_caps_is_any (caps)) { ... }

which luckily works :)

commit 39b69d27da2649740709433b24b8f41b52b20e53
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Jun 22 12:52:01 2014 +0100

    tests: add unit test for gst_caps_is_any() and _is_empty()

    https://bugzilla.gnome.org//show_bug.cgi?id=731704

commit 8e30a9462cf1a470f620490f90a9f51cf976655c
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Sun Jun 22 12:50:42 2014 +0100

    caps: gst_caps_is_any() should return TRUE or FALSE

    Not some flag value instead of TRUE. Fixes code like
    gst_caps_is_any() == TRUE.

    https://bugzilla.gnome.org//show_bug.cgi?id=731704

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list