Skip to content

Feature/a more resource hungry sink application#502

Open
sviengkhou wants to merge 10 commits into
dmf-mxl:mainfrom
sviengkhou:feature/a-more-resource-hungry-sink-application
Open

Feature/a more resource hungry sink application#502
sviengkhou wants to merge 10 commits into
dmf-mxl:mainfrom
sviengkhou:feature/a-more-resource-hungry-sink-application

Conversation

@sviengkhou

Copy link
Copy Markdown

A test app that consumed more resource was required for JT-DMF activity
Create a version of the GSTREAMER mxl-gst-sink application that can read from 4 source and create a mosaic.

Maybe this would benefit the MXL community.

Comment thread tools/mxl-gst/sink.cpp
@garethsb

garethsb commented May 5, 2026

Copy link
Copy Markdown
Contributor

Maybe we could also use gst-mxl-rs to build a larger app with multiple video/audio/data flows, because that might be doable with a single gst-launch-1.0 command line!

@felixpou
felixpou requested a review from a team July 2, 2026 16:01
@felixpou

felixpou commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

TSC

@sviengkhou
sviengkhou force-pushed the feature/a-more-resource-hungry-sink-application branch from 63c67ab to d0a321e Compare July 14, 2026 14:28
@sviengkhou

Copy link
Copy Markdown
Author

@vt-tv @felixpou just bumping this pr after rebase and update to address some issues..

@vt-tv

vt-tv commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

@vt-tv @felixpou just bumping this pr after rebase and update to address some issues..
Thanks. could you resolve the open discussions/comments?

@KimonHoffmann KimonHoffmann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this contribution, a small MV is surely a good demo use-case!
A few small mostly stylistic suggestions from my side.

Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated

@KimonHoffmann KimonHoffmann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for addressing the changes!
I resolved all the ones that have been taken care of and readied a few that got dropped due to the code having changed.

Comment thread tools/mxl-gst/sink.cpp Outdated
Comment thread tools/mxl-gst/sink.cpp Outdated
@sviengkhou

Copy link
Copy Markdown
Author

@KimonHoffmann Hopefully, I've not missed any of your comments. Thank you for the review.

@KimonHoffmann KimonHoffmann left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
All changes have been addressed now, as far as I'm concerned. One last small comment about one of the changes, though.

Comment thread tools/mxl-gst/sink.cpp Outdated
while (::gst_iterator_next(padIter, &item) == GST_ITERATOR_OK)
{
GstPad* pad = static_cast<GstPad*>(::g_value_get_object(&item));
auto const* pad = static_cast<GstPad*>(::g_value_get_object(&item));

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto const* makes the result type slightly different than the type of right hand side expression, because it const-qualifies the pointer rather than the variable, so it should rather be one of the following:

  • auto const
  • auto* const, or (if you want the keep the const-qualified pointer)
  • auto const* const.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed.

@sviengkhou
sviengkhou force-pushed the feature/a-more-resource-hungry-sink-application branch from d420588 to ae6d96f Compare July 23, 2026 18:04
Sithideth Viengkhou (Riedel) and others added 10 commits July 24, 2026 14:23
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
Signed-off-by: Sithideth Viengkhou (Riedel) <sithideth.viengkhou@riedel.net>
@sviengkhou
sviengkhou force-pushed the feature/a-more-resource-hungry-sink-application branch from ae6d96f to 80bdc53 Compare July 24, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants