[gstreamer-bugs] [Bug 636753] pbutils function to map (container) caps to filename extension
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Dec 13 07:16:30 PST 2010
https://bugzilla.gnome.org/show_bug.cgi?id=636753
GStreamer | gst-plugins-base | unspecified
--- Comment #10 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-12-13 15:16:29 UTC ---
I am happy with a better solution. At least we seem to agree that it would be
useful functionality.
1.) As an alternative we could attach it to the FormatInfo in
pbutils/descriptions.c. We could have a fixed extension or a callback that
resolves it according to the content.
The api would then be
const char *gst_pb_utils_suggest_file_name_extension(type, flags)
flags would be: has_video, has_audio
2.) or we just have three extension fields attached to FormatInfo:
audio_and_video
audio_only
video_only
and select the appropriate one based on the flags.
--
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