Commit graph

76 commits

Author SHA1 Message Date
Stefan Sauer
3c5032f36c mi-info: reshuffle container widgets
Prepare for handling nested containers.
2013-09-15 19:50:33 +02:00
Stefan Sauer
533702a0ed mi-info: code cleanups
First reset the info pane and then check/update. This fixes not resetting the
tabs on info==null.
2013-09-15 19:50:33 +02:00
Stefan Sauer
e427932626 mi-info: fix type
It is 'Notebook' and not 'NoteBook'.
2013-09-15 19:50:33 +02:00
Stefan Sauer
d70da55d3b mi: code cleanups, comments 2013-09-15 19:50:33 +02:00
Stefan Sauer
2309c6d7fb mi-info: fix tab-index in compact mode 2013-09-15 19:50:33 +02:00
Stefan Sauer
03892e1e9f info: sort streams by stream_id
This way we are activating the right stream when switching tabs.
2013-09-15 19:50:33 +02:00
Stefan Sauer
a432c367e7 preview: fix minimal size
We need some minial size, otherwise we can enlarge, but not shrink the window.
2013-09-15 19:50:32 +02:00
Stefan Sauer
017bdf3486 HACKING: update instructions 2013-09-15 19:50:32 +02:00
Stefan Sauer
9f2d0729ab preview: extract preview area as separate widget 2013-09-15 19:50:32 +02:00
Stefan Sauer
9baeb2df3d mi: update my name and years 2013-09-15 19:50:32 +02:00
Stefan Sauer
a8f869e7fe mi-info: comment updates 2013-09-15 19:50:32 +02:00
Stefan Sauer
6d42779efa mi-info: turn stdout.printf into debug log calls 2013-09-15 19:50:32 +02:00
Stefan Sauer
ae92653c43 mi-info: add todo for stream switching 2013-09-15 19:50:32 +02:00
Stefan Sauer
d5aa363e7a mi-info: playbin handles force-aspect-ration in 1.0 2013-09-15 19:50:32 +02:00
Stefan Sauer
3d6173aaba info: improve sizing
We're now hinting the scrolled window about the content size to avoid empty space + scrolling.
2013-09-15 19:50:32 +02:00
Stefan Sauer
98148dea9d mi-info: basic subtitle support 2013-09-15 19:50:32 +02:00
Stefan Sauer
7b9d0c9cba video-area: improve resizing of the video area
The browser pane does not expand by default. Track aspect-ration for the
currently displayed object. Use an aspect frame as a container for the
drawing-area.
2013-09-15 19:50:32 +02:00
Stefan Sauer
d9fff12865 mi-info: improve wikilink mapping
Try codecname and then caps name to get wiki links. Also show caps for the container.
2013-09-15 19:50:32 +02:00
Stefan Sauer
000c172df6 mi: port to gst-1.0 and gtk+3 2013-09-15 19:50:32 +02:00
Stefan Sauer
06bba05143 cleanup. update name and year, queue a redraw for album art 2013-09-15 19:50:32 +02:00
Stefan Sauer
7b3e72ad9d porting: update on vala changes 2013-09-15 19:50:32 +02:00
Stefan Sauer
3a6e0484ee info: add wikilinks for two more codecs 2013-09-15 19:50:31 +02:00
Stefan Sauer
46ecfa08ae info: reset container and duration fields if file is not discoverable
Before the previous text was left.
2013-09-15 19:50:31 +02:00
Stefan Sauer
a6a1ae2f63 info: change the order of asyn disco calls
Starting disco before enqueueuing uris seems to make it work.
2013-09-15 19:50:31 +02:00
Stefan Sauer
0cfb4aa000 mi-info: prepare for async discovery
The async api usage is not yet activated due to some uncertanty in the api use.
2013-09-15 19:50:31 +02:00
Stefan Sauer
f52cdd922c comments: planning and code comments 2013-09-15 19:50:31 +02:00
Stefan Sauer
fe59ce2a38 info: add more wikilinks 2013-09-15 19:50:31 +02:00
Stefan Sauer
87da121a23 info: enable double buffering when displaying album art 2013-09-15 19:50:31 +02:00
Stefan Sauer
605e217942 info: handle album-art
Decode and draw the album art into the video window.
2013-09-15 19:50:31 +02:00
Stefan Sauer
328c9e7aab info: filter buffers from tags and add some planning comments 2013-09-15 19:50:31 +02:00
Stefan Sauer
13cf579f94 info: add comment with wikipedia alternative for links 2013-09-15 19:50:30 +02:00
Stefan Sauer
7a69341f03 vapi: no more need for patching the vapi file 2013-09-15 19:50:30 +02:00
Stefan Sauer
173dd47bbb info: switch stream callback for compact layout 2013-09-15 19:50:30 +02:00
Stefan Sauer
f89638f5b0 info: verified link 2013-09-15 19:50:30 +02:00
Stefan Sauer
7a21721a75 info: add compact_layout mode
For screen-heights <= 600 pixels use a single notebook for all streams.
2013-09-15 19:50:30 +02:00
Stefan Sauer
a74e1597ce info: add more wikilinks and use it for streams too 2013-09-15 19:50:30 +02:00
Stefan Sauer
47d22deff7 info: add a hashmap with wiki links and start using them
The container description will be turned into a link if we have a known
wikipedia article for it.
2013-09-15 19:50:30 +02:00
Stefan Sauer
5e2ad304eb mi-info: more ui layout planning 2013-09-15 19:50:30 +02:00
Stefan Sauer
e7144d27b5 info: blacklist "norminal-bitrate" too
We show that above already.
2013-09-15 19:50:30 +02:00
Stefan Sauer
ab4afec78b layout: improve the layout on small screens
Pack the info view info a scrolled window. Use an extra paned to allow resizing
the video pane. Minimize padding on paned widgets.
2013-09-15 19:50:30 +02:00
Stefan Sauer
7af6c2078e info: show the fps as a double
23.97 fps is easier to read that 10000000 / 417083.
2013-09-15 19:50:30 +02:00
Stefan Sauer
24f9916daa info: make urls in tags clickable 2013-09-15 19:50:30 +02:00
Stefan Sauer
b70b3d67de info: make labels selectable for copy'n'paste 2013-09-15 19:50:30 +02:00
Stefan Sauer
0a93f2923f planning: comments and todos 2013-09-15 19:50:30 +02:00
Stefan Sauer
0b6303a667 info: improve tag filtering
Hide duration as well. Also skip all tags where the name starts with "private-".
2013-09-15 19:50:30 +02:00
Stefan Sauer
fa4693f2e0 info: redo tag list formatting
Loop over tags and serialize items. Skip some already shown info.
2013-09-15 19:50:29 +02:00
Stefan Sauer
abe637f399 maintenance: code cleanups and addition TODO: comments 2013-09-15 19:50:29 +02:00
Stefan Sauer
8c015b0207 info: add named video resolutions
Use a gee hashmap for named video resolutions (e.g. VGA) and show those in the
info.
2013-09-15 19:50:29 +02:00
Stefan Sauer
3b3a5273e5 info: show human readable container format name
Update the patch for vala bindings. Update README as getting the contaienr caps
is already possible.
2013-09-15 19:50:29 +02:00
Stefan Sauer
b652b0c2f8 info: show stream tags as multiline label 2013-09-15 19:50:29 +02:00