Add systemstream=false to caps, otherwise the decoder
may be picked for MPEG-PS files. Also parsed=true,
as video toolbox expects entire frame in
VTDecompressionSessionDecodeFrame.
https://bugzilla.gnome.org/show_bug.cgi?id=770049
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-h264, stream-format=avc, alignment=au,"
" width=(int)[1, MAX], height=(int)[1, MAX];"
- "video/mpeg, mpegversion=2;" "image/jpeg")
+ "video/mpeg, mpegversion=2, systemstream=false, parsed=true;"
+ "image/jpeg")
);
/* define EnableHardwareAcceleratedVideoDecoder in < 10.9 */