Commit graph

22 commits

Author SHA1 Message Date
blake tregre
18475dd0c2 decklinksrc: make sure we can accept caps before returning true
caps are determined by the plugin's properties, so we should check the
incoming caps to see if they agree.  Fixes: #667722.
2012-03-17 14:24:51 -07:00
blake tregre
409e8dcc90 decklinksrc: disable pull mode
decklink device doesn't support any pull mode related functionality.
it's more like a live source, you see. Fixes: #667720.
2012-03-17 14:24:51 -07:00
blake tregre
86eeca91de decklinksrc: push new new segment event to all pads
Take care to push the event to all pads, but favor the video src pad.
Fixes: #667716.
2012-03-17 14:24:51 -07:00
David Schleef
c13e4eacc2 decklinksrc: Implement latency query
Implement latency query.  Fix memleak releasing resources.
2012-03-17 14:24:51 -07:00
David Schleef
83e2ca791c decklink: reindent 2012-03-17 14:24:51 -07:00
blake tregre
e37ce96b2c decklinksrc: handle flow return properly and provide better message
* sys/decklink/gstdecklinksrc.cpp:
2012-03-17 14:24:51 -07:00
David Schleef
7cd0ac046a decklink: Add property probing
Renames the subdevice property to just device, and has it
return the number of devices in the system in response to
a probe. This is useful both for using multiple capture
cards, and for detecting whether it's worth adding the
element to a pipeline.

Also cleans up the property descriptions.
2012-03-17 14:24:42 -07:00
Vincent Penquerc'h
8147669971 plenty: fixup glib deprecations 2012-01-27 15:47:07 +00:00
Vincent Penquerc'h
7521b597f4 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:08:27 +00:00
David Schleef
e246d92bd5 decklink: Add subdevice property 2011-08-21 19:06:54 -07:00
Joshua M. Doe
cfd68a8e7a decklink: add support for Windows
Builds with MSVC, not tested in MinGW or anything else. Added
COM handling code, borrowed from dshowvideosink. Moved Linux
specific files to ./linux and added Windows specific files to
./win (generated from IDL files in VS9). Added macros to handle
BSTR and defined bool as BOOL.  Fixes #655362.

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-21 19:06:05 -07:00
Joshua M. Doe
8f08c610ec decklink: improve frame handling
Send NEWSEGMENT on start. Send warning instead of error on
dropped frames.

Signed-off-by: David Schleef <ds@schleef.org>
2011-08-21 19:05:00 -07:00
Joshua M. Doe
a18180898f decklink: fix debugging in capture.cpp by making category extern
Signed-off-by: David Schleef <ds@schleef.org>
2011-08-21 19:02:51 -07:00
David Schleef
2b5e8db968 decklink: Add audio-input property 2011-08-03 13:39:33 -07:00
David Schleef
ab1e013bb8 decklink: properly set up analog input 2011-07-04 16:49:00 -07:00
David Schleef
ae49fa1f78 decklink: Add more modes 2011-07-04 16:48:59 -07:00
David Schleef
16a49a3617 decklink: Add connection type 2011-06-20 12:49:16 -07:00
David Schleef
1faf410ca3 decklink: Add various features
Better mode support, input source property, audio support.
2011-06-20 12:49:16 -07:00
David Schleef
1e1c16150b decklink: reindent 2011-06-20 12:49:16 -07:00
Debarshi Ray
335293bf50 Remove unused but set variables
This is needed to satisfy the new -Wunused-but-set-variable added in
GCC 4.6: http://gcc.gnu.org/gcc-4.6/changes.html
2011-06-04 20:26:02 +01:00
David Schleef
a5cb7912f1 decklink: Fix win32 build 2011-03-24 16:16:38 -07:00
David Schleef
8961f6a900 decklink: Add decklink plugin
Source and sink elements for BlackMagic DeckLink SDI cards.
2011-03-23 21:33:49 -07:00