I've attached a branch with an attempt to port to GSt 1.0.
Main things I had to change:
* GstBuffers are now wrapped in GstSamples
* can't filter caps
* convert-frame is now convert-sample
* need to map/unmap buffers with GstMapInfo before ref-ing the data
This needs to be fixed so that QImage has a wrapper around GstMapInfo + GstBuffer rather than just GstBuffer; I did add an explicit GstBuffer ref, but that's not enough.
Sadly, I couldn't test this (but it built); camera-app doesn't record videos for me with latest system image on mako and doesn't work on grouper; I also tried to push a .mp4 file under Pictures on mako and on my desktop, but for some reason I never see the thumbnail generation kick in -- any idea?
I've attached a branch with an attempt to port to GSt 1.0.
Main things I had to change:
* GstBuffers are now wrapped in GstSamples
* can't filter caps
* convert-frame is now convert-sample
* need to map/unmap buffers with GstMapInfo before ref-ing the data
This needs to be fixed so that QImage has a wrapper around GstMapInfo + GstBuffer rather than just GstBuffer; I did add an explicit GstBuffer ref, but that's not enough.
Sadly, I couldn't test this (but it built); camera-app doesn't record videos for me with latest system image on mako and doesn't work on grouper; I also tried to push a .mp4 file under Pictures on mako and on my desktop, but for some reason I never see the thumbnail generation kick in -- any idea?
Thanks!