After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704505 - decklink: add back property to select device
decklink: add back property to select device
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.0.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-18 21:33 UTC by Youri Westerman
Modified: 2013-07-22 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to re-enable device selection in the decklink plugin (7.18 KB, patch)
2013-07-18 21:33 UTC, Youri Westerman
none Details | Review
git format-patch (7.68 KB, patch)
2013-07-19 18:13 UTC, Youri Westerman
committed Details | Review
Re-enable decklinksink element (770 bytes, patch)
2013-07-19 21:48 UTC, Youri Westerman
committed Details | Review

Description Youri Westerman 2013-07-18 21:33:54 UTC
Created attachment 249571 [details] [review]
Patch to re-enable device selection in the decklink plugin

The device property should be named differently according to the comments in the code. This caused the feature of selecting a device to be unavailable.

Attached is a patch for the 1.0 branch to fix the problem.
Comment 1 Tim-Philipp Müller 2013-07-18 22:21:26 UTC
Thanks for the patch.

Any chance you could provide a patch in "git format-patch" format ? Basically make a git commit locally (after setting your name + e-mail properly with git), and then export it to a file with "git format-patch -1". That way we don't have to write the name + commit message, but can apply it directly.
Comment 2 Youri Westerman 2013-07-19 07:30:43 UTC
Sure that shouldn't be a problem I'll look into it tonight.
Comment 3 Youri Westerman 2013-07-19 18:13:35 UTC
Created attachment 249653 [details] [review]
git format-patch
Comment 4 Youri Westerman 2013-07-19 18:16:06 UTC
Should I make one for the 0.10 and 0.11 branches as well? Or is it possible to mutate these changes to those branches somehow?
Comment 5 Tim-Philipp Müller 2013-07-19 18:25:04 UTC
No, thanks, 0.10 is not maintained any longer, and 0.11 was just a development branch that's been abandoned. There's only git master and the 1.0 stable branch now, and I'm sure the patch applies to both.
Comment 6 Youri Westerman 2013-07-19 21:47:33 UTC
That's too bad I made the patch for 0.10 actually, because I'm using it through qt-gstreamer which is currently unable to work with 1.0 and all major Linux dists are still packaging it.

Turned out that in the 1.0 branch another bit of code was disabled causing decklinksink not to be available at all. So another patch to re-enable the element is enclosed.
Comment 7 Youri Westerman 2013-07-19 21:48:24 UTC
Created attachment 249665 [details] [review]
Re-enable decklinksink element
Comment 8 Tim-Philipp Müller 2013-07-22 12:24:56 UTC
> Turned out that in the 1.0 branch another bit of code was disabled causing
> decklinksink not to be available at all. So another patch to re-enable the
> element is enclosed.

Thanks. I take it that means you have also tested the ported decklinksink a bit and it works at least somewhat? I think I left it disabled after porting it because I hadn't tested it at all.
Comment 9 Tim-Philipp Müller 2013-07-22 13:33:16 UTC
Thanks, pushed both, also to 1.0 branch:


commit 136aa4614e0db3056aadc70ffb993016b927ea7c
Author: Youri Westerman <tetracon@gmail.com>
Date:   Fri Jul 19 23:42:12 2013 +0200

    decklink: actually enable decklinksink
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704505

commit f9898e42f6cd6fdab499a46d8c8d4e8d0f9af6fb
Author: Youri Westerman <tetracon@gmail.com>
Date:   Fri Jul 19 20:09:28 2013 +0200

    decklink: add "device-number" to select from multiple devices
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704505