Applying RBpi patch as proposed in its forums

Antoni Silvestre requested to merge asilvestre/gst-omx:master into master

The complete explanation is in this thread

The fix proposed here fixes a problem with raspberry using omxh264enc plugin which tries to forward partial buffers into the pipeline.

This patch was proposed a year ago in 1.10 I've just adapted to the latest version

I guess raspbian maintainers might have their fork somewhere but I haven't found it.

Merge request reports