sys/v4l2/v4l2src_calls.c: Fix potential caps leak.
authorWilliam M. Brack <wbrack@mmm.com.hk>
Mon, 26 May 2008 15:39:26 +0000 (15:39 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 26 May 2008 15:39:26 +0000 (15:39 +0000)
commit61597d99e9a1ef19862e7b222500504f644e4c12
tree8ef2c0b25f1da27a7c59651661b033c03b8482d5
parentdfe8d582fc40d238b8dfa6240e25fc4e540bf01e
sys/v4l2/v4l2src_calls.c: Fix potential caps leak.

Original commit message from CVS:
Patch by: William M. Brack <wbrack at mmm dot com dot hk>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_probe_caps_for_format):
Fix potential caps leak.
If we can't get the framerate with an ioctl, try to get it with the
current norm. Fixes #520092.
ChangeLog
sys/v4l2/v4l2src_calls.c