First working gstreamer video output.
Frames are not in sync with the time provided in GetFrame! Need to implement a own GstClock for that first
This commit is contained in:
1 parent
d66e47ff47
commit
a7e528109a
7 files changed
+159
-43
No files matched your search
@@ -77,12 +77,12 @@ DllExport float GetVideoLength(int Stream)
|
||||
else return -1.0;
|
||||
}
|
||||
|
||||
DllExport guint8* GetFrame(int Stream, float Time, float &VideoTime, int &Size, int &Width, int &Height)
|
||||
DllExport struct ApplicationFrame GetFrame(int Stream, float Time)
|
||||
{
|
||||
map<int,GstreamerVideoStream*>::iterator it = VideoStreams.find(Stream);
|
||||
if(it != VideoStreams.end())
|
||||
{
|
||||
return it->second->GetFrame(Time, VideoTime, Size, Width, Height);
|
||||
return it->second->GetFrame(Time);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user