I've managed to get it working using glimagesink, however it still performs horribly with dshowvideosink. Instead of setting the buffer flag to GST_BUFFER_FLAG_DISCONT for the
first frame (decklinksrc->num_frames==0), I pushed a
gst_event_new_newsegment(). Also I set GST_BUFFER_OFFSET_END to match
OFFSET (though I don't think this matters). The timestamps and duration all seem to be set correctly, so I'm not sure what else could be the problem, dshowvideosink works just fine with videotestsrc.<br>-Josh<br>
<br><div class="gmail_quote">On Mon, Jun 27, 2011 at 1:20 PM, Josh Doe <span dir="ltr"><<a href="mailto:josh@joshdoe.com">josh@joshdoe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span>I'm working on making decklinksrc work on Windows, and can stream
to disk fine (at normal framerates, using composite NTSC source), but if i display to the screen (e.g. using dshowvideosink) the framerate drops to
something like 1fps. <br><br>What might be the cause of this?<br><br>FYI, DeckLink provides a COM interface, and I've copied the relevant bits from dshowvideosink for handling this.<br><br>Thanks,<br>-Josh<br></span>
</blockquote></div><br>