← Back to team overview

tiomap-dev team mailing list archive

回复:[Bug 929259] Re: In version 11.10 playbin2 cann't set video-sink "force-aspect-ratio=TRUE"

 

Hi Xavier,Can you give some advice about the Bug #929264?After update the new addon ,I cann't use "about-to-finish" signal of playbin2 to change the uri of next movie.

The next movie cann't play smoothly like before.

My old code likes below:
signal handle:

static void player_change_file(GstElement *pipeline,PLAYER_PLUGIN
*player)

{

    player->uri = get_new_uri();//get the next uri for player

    g_object_set (player->pipeline, "uri", player->uri , NULL);
}
in player process:

...

g_signal_connect (player->pipeline, "about-to-finish", G_CALLBACK
(player_change_file),player);

...

Is this a bug or my program's mistake?

Do I have to change the uri in the main thread in the new version ?

Eager for your reply!
Regards!

Charlie

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-multimedia.
https://bugs.launchpad.net/bugs/929259

Title:
  In version 11.10 playbin2 cann't set video-sink "force-aspect-
  ratio=TRUE"

Status in OMAP4 Ubuntu Multimedia addons:
  Confirmed

Bug description:
  Pipeline:
  gst-launch playbin2 uri=file:///1080p.mov video-sink="pvrvideosink force-aspect-ratio=TRUE"

  Performance:
  The black borders of playarea flash hard. 
  While  using "totem 1080p.mov " it works well.
  In the source of totem it use "ximagesink" as video-sink, it is so weird.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-omap4-extras-multimedia/+bug/929259/+subscriptions


References