summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2017-10-27gst-play: Prevent disabling all streamsEdward Hervey1-2/+5
This would have bad effects :)
2017-10-27gst-play: Support track change on playbin3Seungha Yang1-17/+266
* playbin3 does not support {current,n}-{audio,video,text} properties, and they were replaced by GstStreams API. So, GstStreams API and select-stream event should be used for track change in case of playbin3. see also https://bugzilla.gnome.org/show_bug.cgi?id=769079 * By using commend line option "--use-playbin3", gst-play will use playbin3 regardless of "USE_PLAYBIN" env variable. https://bugzilla.gnome.org/show_bug.cgi?id=775469
2017-10-11discoverer: output channel positionsMathieu Duponchelle1-2/+35
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-10-11discoverer: output whether the uri is liveMathieu Duponchelle1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=783722
2017-04-11tools: gst-device-monitor: Print gst-launch exampleOlivier Crête1-0/+99
Print a gst-launch-1.0 line that could get to this device, useful as we don't have other ways to see what it does exactly. This may not work if the create element has configurations other than properties. https://bugzilla.gnome.org/show_bug.cgi?id=781152
2017-03-07tools: gst-play: improve verbose output of property notificationsTim-Philipp Müller1-2/+30
Use new message notify API and print caps and taglists in a nicer to read way, just like gst-launch-1.0 does nowadays, without escaping everything three times.
2016-12-23tools: gst-play: set GST_GL_XINITHREADSNicolas Dechesne1-0/+2
This ensure that XInitThreads is called and so gl contexts are properly initialized. https://bugzilla.gnome.org/show_bug.cgi?id=776403
2016-09-04tools: gst-play: cycle between video tracks without disabling videoTim-Philipp Müller1-2/+5
2016-08-20Add support for Meson as alternative/parallel build systemNirbheek Chauhan1-0/+25
https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
2016-07-15gst-play: Allow disabling audio/video/subtitle tracksJan Schmidt1-16/+36
When cycling through tracks, add 'disable' to the set of states.
2016-07-15tools: fix device leaks in gst-device-monitorGuillaume Desmottes1-0/+2
gst_message_parse_device_{added,removed} is actually returning a new ref on the device. https://bugzilla.gnome.org/show_bug.cgi?id=768776
2016-04-18gst-play: call gst_deinit()Guillaume Desmottes1-0/+1
So we can use gst-play to track memory leaks. https://bugzilla.gnome.org/show_bug.cgi?id=765216
2016-03-04gst-play: remove peculiar setting of invalid -v propertyVincent Penquerc'h1-2/+0
2016-02-25tools: gst-play: add 'n' and 'b' as additional shortcuts for next/previous itemTim-Philipp Müller2-4/+9
< and > are composed with shift + something else on many keyboards layouts, so don't work well when injecting them via windowing systems which will send them as shift key press and separate other key, and we the don't combine that to < or > properly. n/b are easier.
2016-01-18tools: gst-play: allow setting of flags in serialized foo+bar formatTim-Philipp Müller1-5/+17
https://bugzilla.gnome.org/show_bug.cgi?id=751901
2016-01-18tools: gst-play: add command line options for verbose output and playbin flagsHugues Fruchet1-2/+26
https://bugzilla.gnome.org/show_bug.cgi?id=751901
2016-01-14gst-device-monitor: Use g_printerr instead of g_errorNirbheek Chauhan1-2/+4
g_error is meant to be used for programmer errors (causes an abort), not for expected runtime errors.
2015-12-29tools: gst-device-monitor: print uint properties in both decimal and hexTim-Philipp Müller1-1/+6
Some values are easier to read and make sense of in hex. https://bugzilla.gnome.org//show_bug.cgi?id=759780
2015-12-26tools: gst-device-monitor: print non-string device properties tooTim-Philipp Müller1-3/+11
2015-10-28tools: gst-device-monitor: fix two memory leaksNirbheek Chauhan1-1/+2
The removed GList link needs to be freed too, and the G_OPTION_REMAINING arguments need to be freed.
2015-10-02gst-play: Removed erroneous commentVivia Nikolaidou1-1/+0
The "fall through" comment was wrong. Removed. https://bugzilla.gnome.org/show_bug.cgi?id=755440
2015-10-02gst-play: Add keyboard shortcut '0' to seek to beginningVivia Nikolaidou1-0/+4
https://bugzilla.gnome.org/show_bug.cgi?id=755440
2015-10-02gstreamer: base: Fix memory leaks when context parse fails.Vineeth TM3-6/+10
When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks. Free'ing the same. And replacing g_error_free with g_clear_error, which checks if the error being passed is not NULL and sets the variable to NULL on free'ing. https://bugzilla.gnome.org/show_bug.cgi?id=753852
2015-08-19tools: discoverer: When info is NULL just print error and returnVineeth TM1-1/+8
In case discover_uri returns NULL info, passing the info to discoverer APIs result in critical assertion errors. Hence instead of passing NULL info along, print the error and return. https://bugzilla.gnome.org/show_bug.cgi?id=753701
2015-08-18tools: gst-play: Use g_build_filename instead of g_strconcatVivia Nikolaidou1-1/+1
When running gst-play against a directory name, and suffix the path with a directory separator (e.g. tab completion), gst-play was printing two directory separators in a row. g_build_filename fixes this, and additionally allows for both '/' and '\' as separators on Windows.
2015-08-17discoverer: free context and error during failuresVineeth TM1-0/+3
When g_option_context_parse or gst_discoverer_new fails, then there will be memory leaks for ctx and err variables. Free'ing the same. https://bugzilla.gnome.org/show_bug.cgi?id=753701
2015-07-24tools: gst-play: seek at least in steps of a secondTim-Philipp Müller1-2/+6
In case of very short files we might end up seeking in steps of a fraction of a second, which is silly and gives the impression that seeking doesn't actually work. Make minimum seek step a second instead.
2015-07-16tools: gst-device-monitor: fix props leakTim-Philipp Müller1-0/+1
CID 1311942
2015-07-15device-monitor: print device propertiesWim Taymans1-5/+22
2015-07-07gst-play: fix memory leakVineeth TM1-1/+3
In gst-play, for GST_MESSAGE_ELEMENT bus message, event is being allocated through gst_navigation_message_parse_event, but not freed. https://bugzilla.gnome.org/show_bug.cgi?id=752040
2015-06-19tools: gst-play: fix seeking issueVineeth T M1-3/+3
For positive seeking segment.stop value will be -1, when we change rate to -1, then the stop value will be udpated with the current position. And then again if we change rate to 1, the segment.stop value does not get updated and remains as position where we last changed rate to -1. Hence playback stops at that point. In case of positive rates, call gst_element_new_seek with correct values https://bugzilla.gnome.org/show_bug.cgi?id=751213
2015-06-16tools: gst-play: error out instead of crashing if there's no playbin elementTim-Philipp Müller1-2/+12
2015-06-09tools: gst-play: don't print 64 whitespaces next to the time indicationVivia Nikolaidou1-5/+10
Printing 64 whitespaces to erase the "Paused" message (after \r) would make it wrap to the next line on shorter terminals. Instead we only print the amount of spaces needed. Also mark the "Paused" string for translation while we're at it.
2015-06-09tools: gst-play: add shortcuts to switch audio/subtitle/video tracksTim-Philipp Müller2-1/+96
2015-06-08tools: gst-play: sort directory entriesVivia Nikolaidou1-3/+25
When adding a directory to the playlist, the order would be whatever g_dir_read_name returned. Sorting these using natural sort order. https://bugzilla.gnome.org/show_bug.cgi?id=750585
2015-05-30tools: gst-play: remove unnecessary variableLuis de Bethencourt1-6/+4
The second assignment of sret is never used. We can remove the first assignment and use the value directly instead.
2015-05-24tools: gst-play: keep configured playback rate and trick mode when seekingTim-Philipp Müller1-7/+15
Instead of resetting rate to 1.0
2015-05-24tools: gst-play: mark more strings for translationTim-Philipp Müller1-24/+52
2015-05-24tools: gst-play: add keyboard shortcut helpdanny song1-0/+23
https://bugzilla.gnome.org/show_bug.cgi?id=749740
2015-05-21tools: gst-play: enable interative mode by defaultTim-Philipp Müller2-5/+6
And change --interactive option to --no-interactive.
2015-04-29gst-play: add some more key navigation mappingsTim-Philipp Müller1-0/+13
And don't feed multi-character key descriptors to the event handler, it won't be what it expects.
2015-04-29tools: Add mouse/keyboard handling from messagesEdward Hervey1-0/+46
Allows the user to control playback with the window in focus https://bugzilla.gnome.org/show_bug.cgi?id=747245
2015-04-26Remove obsolete Android build cruftTim-Philipp Müller1-11/+0
This is not needed any longer.
2015-02-28gst-play: fix compiler warningTim-Philipp Müller1-1/+1
‘return’ with no value, in function returning non-void
2015-02-28gst-play: add keyboard shortcut to cycle through trick modesTim-Philipp Müller2-28/+121
Make "t" activate trick modes and cycle through the various modes.
2015-02-28gst-play: fix indentationTim-Philipp Müller1-1/+4
Prevent gst-indent from messing up indentation, it really doesn't like the G_GNUC_PRINTF thing here.
2015-02-26gst-play: add new keyboard shortcuts to man pageTim-Philipp Müller1-0/+6
2015-02-26gst-play: more fine-grained playback rate controlTim-Philipp Müller1-4/+21
Use smaller steps for lower rates to allow more fine-grained control. Handle jump across 0 properly from both sides (just flip direction where we would have gone down to 0 instead). Don't artificially limit rates to +/- 10x. Print new rate. https://bugzilla.gnome.org/show_bug.cgi?id=745174
2015-02-26gst-play: stash current playback rate in app structureTim-Philipp Müller1-7/+10
https://bugzilla.gnome.org/show_bug.cgi?id=745174
2015-02-26gst-play: support changing the playback rate in interactive modeVíctor Manuel Jáquez Leal1-0/+60
It is fun to have this feature, also it is useful for testing decoders. https://bugzilla.gnome.org/show_bug.cgi?id=745174