xvimagesink - when to set properties?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

xvimagesink - when to set properties?

Mohan R
Hi,

I'm facing issue with xvimagesink where It shows some unwanted
borders/edges. When I tried to set "force-aspect-ratio=false" and
"draw-borders=false", it doesnt change anything.

I'm thinking I'm setting these values in a wrong place (or wrong time).
I'm currently setting these values immediately after creating
xvimagesink0 object.

Is it fine to set xvimagesink properties after creating the object?
where should I set these properties so that xvimagesink will not force
aspect-ratio and will not put any borders?

Thanks,
Mohan R
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: xvimagesink - when to set properties?

Arun Raghavan-4
On Sun, 24 Jul 2016, at 01:12 AM, MohanR wrote:

> Hi,
>
> I'm facing issue with xvimagesink where It shows some unwanted
> borders/edges. When I tried to set "force-aspect-ratio=false" and
> "draw-borders=false", it doesnt change anything.
>
> I'm thinking I'm setting these values in a wrong place (or wrong time).
> I'm currently setting these values immediately after creating
> xvimagesink0 object.
>
> Is it fine to set xvimagesink properties after creating the object?
> where should I set these properties so that xvimagesink will not force
> aspect-ratio and will not put any borders?

Setting them immediately after creation is just fine. Just as a sanity
check, the borders aren't in the video itself, are they?

-- Arun
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel