Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 100 - import private copy of inter plugin #105

Closed
wants to merge 6 commits into from

Conversation

thaytan
Copy link

@thaytan thaytan commented Jan 10, 2015

The private copy of each element has 'dvs' prepended - pipelines need 'intervideosrc' -> 'dvsintervideosrc' etc.

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 3d23528 on thaytan:issue-100 into 901b3cb on timvideos:master.

@mithro mithro modified the milestone: At TimVideos Sprints Jan 10, 2015
Import commit #410806 from gst-plugins-bad
@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 3362c65 on thaytan:issue-100 into 901b3cb on timvideos:master.

@mithro
Copy link
Member

mithro commented Jan 10, 2015

Why dvs?

@mithro mithro added the server label Jan 10, 2015
@thaytan
Copy link
Author

thaytan commented Jan 10, 2015

Brainfart - I thought 'oh, call it after dvswitch -> dvs'. Something based on 'gst-switch' would be better, but I'm not sure what that is

@mithro
Copy link
Member

mithro commented Jan 11, 2015

It was suggested "gsw" for "gst-switch".

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling 05abe05 on thaytan:issue-100 into 901b3cb on timvideos:master.

@thaytan
Copy link
Author

thaytan commented Jan 11, 2015

I updated the patch. I'd be careful merging though - autovideoconvert doesn't seem to like the flexible negotiation gwsintervideosrc offers. I'd just use videoconvert instead of autovideoconvert though (and then it works) - autovideoconvert is silly.

@mithro
Copy link
Member

mithro commented Jan 11, 2015

Lets just do a complete s/autovideoconvert/videoconvert/ - Do you want me to do it or you?

@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling f2d5b39 on thaytan:issue-100 into 901b3cb on timvideos:master.

@mithro
Copy link
Member

mithro commented Jan 13, 2015

Looks like GstVideoConverter isn't in trusty's gstreamer?

gstintervideosrc.c: In function 'gsw_inter_video_src_set_caps':
gstintervideosrc.c:217:3: error: unknown type name 'GstVideoConverter'
   GstVideoConverter *converter;
   ^
gstintervideosrc.c:241:3: error: implicit declaration of function 'gst_video_converter_new' [-Werror=implicit-function-declaration]
   converter = gst_video_converter_new (&black_info, &intervideosrc->info, NULL);
   ^
gstintervideosrc.c:241:13: error: assignment makes pointer from integer without a cast [-Werror]
   converter = gst_video_converter_new (&black_info, &intervideosrc->info, NULL);
             ^
gstintervideosrc.c:242:3: error: implicit declaration of function 'gst_video_converter_frame' [-Werror=implicit-function-declaration]
   gst_video_converter_frame (converter, &src_frame, &dest_frame);
   ^
gstintervideosrc.c:243:3: error: implicit declaration of function 'gst_video_converter_free' [-Werror=implicit-function-declaration]
   gst_video_converter_free (converter);
   ^
cc1: all warnings being treated as errors
ii  libgstreamer1.0-dev                                   1.2.4-0ubuntu1                                      amd64        GStreamer core development files

@mithro
Copy link
Member

mithro commented Jan 13, 2015

BTW I rebased and squashed your branch at https://github.com/mithro/gst-switch/tree/thaytan-issue-100

@thaytan
Copy link
Author

thaytan commented Jan 14, 2015

Oh. Missing GstVideoConverter is a problem :-/

@mithro
Copy link
Member

mithro commented Jan 14, 2015

What does GstVideoConverter do?

@thaytan
Copy link
Author

thaytan commented Jan 15, 2015

It's a more-recently-than-1.2 introduced helper class for transforming/generating video frames that lives in libgstvideo.

@thaytan
Copy link
Author

thaytan commented Jan 15, 2015

That is, it helps intervideosrc not have to know about how to generate blank frames in specific formats - the helper class does it.

@mithro
Copy link
Member

mithro commented Jan 15, 2015

@thaytan - so what our best option here?

@mithro
Copy link
Member

mithro commented Jan 30, 2015

@thaytan - Friendly poke! Would be really awesome to get this merged.

@mithro
Copy link
Member

mithro commented May 5, 2015

@thaytan Friendly poke :)

I'd really love to get this landed but not sure the best way to import the helper class that is needed.

@mithro mithro closed this Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants