hdv1394src: Make it possible to select a camera by its GUID
authorDjalma Lúcio Soares da Silva <dlucio@impa.br>
Thu, 31 Oct 2013 15:02:11 +0000 (13:02 -0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 31 Oct 2013 16:26:08 +0000 (17:26 +0100)
commita22d61007aa7bf539ae735dbab6026d44729fe61
tree4c3f165ab3a1b8e9b5451572758b61f8aba13808
parent43602e2d8a7d18c2804e883719eaaa479df1fa65
hdv1394src: Make it possible to select a camera by its GUID

The source hdv1394src has the guid property that permits select a camera
connected from its GUID number.
However when this property is setted the selected camera is not changed.
The source continues using the default camera.

This problem was solved using the function iec61883_cmp_connect.
The reference for the function could be found here:
http://www.dennedy.org/libiec61883/API-iec61883-cmp-connect.html

The solution came from dvgrab source code.

https://bugzilla.gnome.org/show_bug.cgi?id=710415
ext/raw1394/gsthdv1394src.c