GNOME Bugzilla – Bug 710415
hdv1394src: Not possible to select a HDV camera from GUID
Last modified: 2013-10-31 16:27:28 UTC
Created attachment 257590 [details] [review] Patch that solved the problem. The Problem: ============ 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. Solution: ========= I solved this problem investigating inside dvgrab source code. This line does the miracle: iec61883_cmp_connect( src->handle, m_node, &m_outputPort, raw1394_get_local_id( src->handle ), &m_inputPort, &m_bandwidth ); The reference for the command could be found here: http://www.dennedy.org/libiec61883/API-iec61883-cmp-connect.html I wait have helped. Regards.
Can you provide the patch in "git format-patch" format? For this commit it locally with a useful commit message and call "git format-patch -1", then attach the created file. Also please explain why this is necessary :)
Created attachment 258666 [details] [review] Patch that solve the problem in git format-patch
This is necessary because we use 2 HDV cameras to make a stop-motion 3D stereo movie.
commit a22d61007aa7bf539ae735dbab6026d44729fe61 Author: Djalma Lúcio Soares da Silva <dlucio@impa.br> Date: Thu Oct 31 13:02:11 2013 -0200 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