mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
TODO: add some planning comments
This commit is contained in:
parent
b96abd86c2
commit
6dcf0b865a
2 changed files with 12 additions and 1 deletions
|
@ -59,6 +59,10 @@ http://www.headbands.com/gspot/v26x/index.htm
|
|||
- encoded_size = duration * bitrate;
|
||||
- bitrate = encoded_size / duration;
|
||||
- needed in: quicktime, ogg/theora
|
||||
- we'd like to have some transport-info (from sources)
|
||||
- http-source can post a taglist of http-header fields (e.g. mime-type)
|
||||
- we can have wiki-links for the protocol
|
||||
- we can get the file-size for remote content
|
||||
|
||||
== deep scan mode ==
|
||||
- could be done in gst_devtools/validate
|
||||
|
|
|
@ -66,6 +66,7 @@ public class MediaInfo.Info : Box
|
|||
set_orientation (Gtk.Orientation.VERTICAL);
|
||||
|
||||
// setup lookup tables
|
||||
// TODO(ensonic); move to a data class
|
||||
// video resolutions: http://upload.wikimedia.org/wikipedia/mediainfo/commons/e/e5/Vector_Video_Standards2.svg
|
||||
// FIXME: these are only for PAR = 1:1
|
||||
// we could have another list for CIF (http://en.wikipedia.org/wiki/Common_Intermediate_Format)
|
||||
|
@ -176,6 +177,11 @@ public class MediaInfo.Info : Box
|
|||
table = new Table (8, 3, false);
|
||||
info_area.add_with_viewport (table);
|
||||
|
||||
/* TODO(ensonic): add a 'Source' box ? maybe only for streams?
|
||||
Transport: {file, http, rtsp, ....} as wikilink
|
||||
Size: (in bytes)
|
||||
*/
|
||||
|
||||
label = new Label (null);
|
||||
label.set_markup("<b>Container</b>");
|
||||
label.set_alignment (0.0f, 0.5f);
|
||||
|
@ -312,6 +318,7 @@ public class MediaInfo.Info : Box
|
|||
album_art = null;
|
||||
|
||||
try {
|
||||
// TODO(ensonic): this does not work for streams
|
||||
FileInfo finfo = file.query_info ("standard::*", FileQueryInfoFlags.NONE, null);
|
||||
mime_type.set_text (finfo.get_attribute_string (FileAttribute.STANDARD_CONTENT_TYPE));
|
||||
icon_image.set_from_gicon ((Icon) finfo.get_attribute_object (FileAttribute.STANDARD_ICON), IconSize.DIALOG);
|
||||
|
|
Loading…
Reference in a new issue