Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set video format support #114

Merged
merged 3 commits into from Jan 11, 2015
Merged

Set video format support #114

merged 3 commits into from Jan 11, 2015

Conversation

deeprave
Copy link

Add support for selecting the video format to use at runtime.
Default resolution is 720p with the -l switch to select VGA resolution. -f overrides and allows a more complete specification.

David Nugent added 3 commits January 10, 2015 19:24
 * Fix gstswitchopts.c:parse_format() to return the parsed caps
   and report detected errors
 * Add gstswitchopts.c to the server build
 * Add -f/--video-format switch to the goption parser
 * Fix error message on extraneous args
 * Fix tests for the gstswitchopts.c:parse_format() changes
 * Clean up gstswitchopts.c, incl a memory gaff
 * Add function to retrieve default video width/height
 * Initialise video caps to sensible values
 * Add support for -l command line switch to use low resolution
 * Remove use of width/height macros in gstcomposite.h, and instead
   hook into the default video width/height

TODO: Do not merge yet, use results in complaints from gstreamer about
unimplemented code/scaling problems!
 * Add call to gst_init() so handling before parsing commandline
   args so working with GstCaps does not crash
 * dump caps to stdout so we can replicate this elsewhere if need be
@mithro mithro added this to the At TimVideos Sprints milestone Jan 11, 2015
@mithro mithro merged commit 1775caf into timvideos:master Jan 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants