Zebediah Figura (@zfigura) commented about dlls/quartz/tests/mpegvideo.c:
- memcpy(target_data, data, len);
- hr = IMediaSample_SetActualDataLength(sample, len);
- ok(hr == S_OK, "Got hr %#lx.\n", hr);
- hr = IMemInputPin_Receive(input, sample);
- todo_wine_if(wine_fail) /* 0xc00d6d61 is MF_E_TRANSFORM_STREAM_CHANGE */
ok(hr == S_OK, "Got hr %#lx.\n", hr);
+}
+static void test_send_video(IMemInputPin *input, IMediaSample *sample) +{
- /* ffmpeg -t 1.0 -s 32x24 -f rawvideo -pix_fmt rgb24 -r 25 -i /dev/zero -c:v mpeg1video -q:v 0 -format mpegvideo empty.mpeg */
- /* gst-launch-1.0 filesrc location=empty.mpeg ! mpegpsdemux ! mpegvideoparse ! filesink location=empty-es.mpeg */
- /* then truncate to taste */
- /* each 00 00 01 b3 or 00 00 01 00 starts a new frame, except the first 00 00 01 00 after a 00 00 01 b3 */
Wait, so is the data here generated with ffmpeg or GStreamer?