v4l2: Fix support for caps without width, height, framerate or format
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 29 Mar 2014 23:13:06 +0000 (19:13 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Tue, 1 Apr 2014 18:28:08 +0000 (14:28 -0400)
commite5ef2db489799d4bbf2da3ccbdf72d2ef73bf4ed
tree2237cf243fe2d07b0ced143a7de0d3b5c7e760e3
parentb95d9cfb21e1a040505023b987a33fea138470e4
v4l2: Fix support for caps without width, height, framerate or format

For format like mpegts, width and height is rarely in the negotiated caps. This
patch fixes failure when setting format, and prevent introducing width, height,
framerate and format to the caps when fixating.

https://bugzilla.gnome.org/show_bug.cgi?id=725860
sys/v4l2/gstv4l2object.c
sys/v4l2/gstv4l2src.c