[RFC PATCH 0/5] Add MPEG video parser to MPEG splitter filter.

Zebediah Figura zfigura at codeweavers.com
Mon Jun 22 11:22:48 CDT 2020



On 6/21/20 1:40 AM, Akihiro Sagawa wrote:
> This is my work in progress patchset which adds MPEG video parser to
> MPEG splitter filter. Mainly, fix for bug 9127.
> 
> Before moving on the farther step, I'd like to request for comments on
> this implementation (function name, patch order, GStreamer usage, etc.).
> 
> I'll work on MPEG video decoder filter, next. Because, at this point, we
> can't build a pipeline for MPEG video files with the MPEG splitter. After
> finishing up the decoder, I'll submit both of patchset. Supporting
> system stream (audio+video) will be the subsequent development.

So, I'm guessing that the application that wants this builds the entire
 graph themselves? Or do they insert mpegvideoparse and autoplug the
rest? If the latter, I kind of wonder if we could wire it up to
decodebin instead...

I think patch 1/5 makes sense, though the title is a little awkward. It
might be a good idea to split it (it is already a little large), with
one patch as something like "quartz/tests: Pass a file name to some MPEG
splitter test functions" and one patch as something like "quartz/tests:
Separate audio-specific MPEG splitter tests into their own functions."

The rest of the patches look fine at a cursory glance, though see also
my question above. I do wonder

I'm not sure it's worth going out of your way to make
test_enum_media_types() work with both sinks. The point is just to show
that IEnumMediaTypes functions have a certain behaviour across most or
all filters.

As always it'd be nice to put tests before fixes (so 5/5 before 4/5, I
guess), but if that gets too awkward it'd not a big deal.

> 
> Akihiro Sagawa (5):
>   quartz/tests: Factor out MP3 audio tests.
>   winegstreamer: Implement listing of sink media types.
>   winegstreamer: Pass the AM_MEDIA_TYPE parameter to the handler.
>   winegstreamer: Add MPEG video parser to MPEG splitter.
>   quartz/tests: Add MPEG video parser tests for MPEG splitter.
> 
>  dlls/quartz/tests/mpegsplit.c | 894 +++++++++++++++++++++++++---------
>  dlls/quartz/tests/rsrc.rc     |   4 +
>  dlls/quartz/tests/video.mpg   | Bin 0 -> 617 bytes
>  dlls/winegstreamer/gstdemux.c | 192 +++++++-
>  4 files changed, 838 insertions(+), 252 deletions(-)
>  create mode 100644 dlls/quartz/tests/video.mpg
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200622/6080bd18/attachment.sig>


More information about the wine-devel mailing list