[gstreamer-bugs] [Bug 621282] Display of short fourccs is in hex instead of text
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Jun 11 04:04:22 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=621282
GStreamer | gstreamer (core) | git
martin.bisson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin.bisson at gmail.com
--- Comment #2 from martin.bisson at gmail.com 2010-06-11 11:04:17 UTC ---
I basically just changed the function gst_value_serialize_fourcc() so that it
has the same behavior as gst_value_transform_fourcc_string() just a couple of
lines higher.
I tested a working pipeline using a capfilter with caps "video/x-raw-yuv,
format=(fourcc) ..." in the following case:
- ... = Y800 (normal fourcc): works fine
- ... = Y80x (wrong fourcc with alnum character): pipeline not able to link,
excepted behavior
- ... = Y80# or Y80) (wrong fourcc with non-alnum character): pipeline not even
able to set the property on the element. I don't know exactly why.
The behavior that I was going to write would have been to change "is_alnum" for
something like "is_alnum(c) || c == ' '" (would that be ok?), but when I saw
that gst_value_transform_fourcc_string(), I used the same implementation.
I could write a more thorough test. I'm not familiar with GStreamer test
architecture yet, I can look into that.
--
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