[Bug 753079] validate: Should not store stream-id in media-info for local files

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 31 15:38:13 PDT 2015


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

--- Comment #4 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 308586
  --> https://bugzilla.gnome.org/attachment.cgi?id=308586&action=edit
validate: media-descriptor: Workaround file:// stream-id changing

file:// base stream-id will vary depending on the file path. As we
don't expect everyone to use the same absolute path to place the
validate testsuite, the resulting stream-id changes. Because of that,
we can't match the stream-id in the recorded file, hence cannot do
further check. We work around this by doing what filesink would do,
which is compute a SHA256 of the URI which we can use to first
validate the ID is prefixed like expected, and decide if we should
consider the stream IDs the same or not.

-- 
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