Gplay: Video screen is not getting resized

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Gplay: Video screen is not getting resized

896 Views
Swamy
Contributor III

Hi,

I want to change the gplay(gst-fsl-plugin-2.0.3) video screen size with 700x300. I have modified the file mfw_gplay_core.c with the below changes.

#define DEFAULT_OFFSET_X 65

#define DEFAULT_OFFSET_Y 100

#define DEFAULT_DISPLAY_WIDTH 700

#define DEFAULT_DISPLAY_HEIGHT 300

But these changes also not taking into the effect and the video screen size remains same. Could you kindly help in fixing this issue

Regards,

Swamy


Labels (4)
0 Kudos
4 Replies

659 Views
Swamy
Contributor III

Thanks for the reply.

Strangely fsl_player_full_screen() function is not getting called from anywhere. I even added forcefully the following parameters under the function fsl_player_play(), but still no change in the display area. It is still occupying the entire display resolution. Please suggest.

pproperty->display_parameter.offsetx = DEFAULT_OFFSET_X;
    pproperty->display_parameter.offsety = DEFAULT_OFFSET_Y;
    pproperty->display_parameter.disp_width = DEFAULT_DISPLAY_WIDTH;
    pproperty->display_parameter.disp_height = DEFAULT_DISPLAY_HEIGHT;
    pproperty->bfullscreen=0; //added

     pplayer->klass->resize(pplayer, pproperty->display_parameter);

Regards,

Swamy


0 Kudos

659 Views
YixingKong
Senior Contributor IV

Mahadeva, what is the progress of your issue? If your issue had been resolved please click Correct Answer/Helpful Answer. We would liek to close your DI if no response from you in 3 days.

Thanks,

Yixing

0 Kudos

659 Views
daiane_angolini
NXP Employee
NXP Employee

Hi.

Could you, please, let me know the status of this issue?

I think  missed the notification of your update.

0 Kudos

659 Views
daiane_angolini
NXP Employee
NXP Employee

Please, take a look on fsl_player_ret_val fsl_player_full_screen(fsl_player_handle handle) in order to determinate value of pproperty->bfullscreen

I believe gplay is configured for fullscreen by default.

0 Kudos