[gstreamer-bugs] [Bug 625944] New GstDiscoverer helper library
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Aug 5 06:25:27 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=625944
GStreamer | gst-plugins-base | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |t.i.m at zen.co.uk
Ever Confirmed|0 |1
--- Comment #10 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-08-05 13:25:22 UTC ---
Comments, part 1:
[looking at header file / API only for now]
- dependency on video/video.h for GstVideoFormat
is unfortunate. Is that info really needed? If
yes, for what / why / where?
- GstStreamType / GstStream*Information: I think it
would be better if GstDiscoverer didn't use that
rather generic namespace, but instead namespaced
these things like GstDiscovererStream*. Makes
things longer, but more consistent IMHO. Could
also use nicer / more natural names then, like
GstDiscovererAudioStreamInfo.
- GstStream*Information: shorten Information to Info
everywhere? (Or just drop the Info completely?)
- GstStreamType: no type (types?) for subtitle streams
(would want to differentiate text / bitmap somehow)
- docs: "Audio media stream" => "Audio stream" etc.;
"successfull" -l ; "happend" => "happened"
- GstStream{Audio,Container,Video}Information:
I am not very much in favour of these structures
at all. I would make them completely opaque and
just provide accessor functions, e.g.:
gst_discoverer_audio_stream_info_get_sample_rate(),
gst_discoverer_audio_stream_info_get_channels(), etc.
I doubt there is a significant performance impact,
and it makes for much nicer API (IMHO) and is much more
bindings friendly.
- GstDiscovererInformation: same as above, make opaque
and provide accessors for everything
- GstStreamVideoInformation: GValues are weird here
- Does anyone ever need to go back to the previous info?
- We should wait for the TOC API to land before finalising
this API, so we can make sure it integrates well.
- GstDiscoverer: should be entirely opaque, with at most
a GstDiscovererPrivate * member in the structure
(There's more, but it's probably easier to discuss this in chunks)
--
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