After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766001 - glimagesink: Issue when changing source while in PAUSED state
glimagesink: Issue when changing source while in PAUSED state
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-04 18:34 UTC by Xavier Claessens
Modified: 2016-05-06 04:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (1.77 KB, text/x-csrc)
2016-05-04 18:34 UTC, Xavier Claessens
Details

Description Xavier Claessens 2016-05-04 18:34:29 UTC
Created attachment 327311 [details]
Test case

See attached test case.

What it does it playing a video, then pause it and switch to a jpeg image source instead. Since pipeline stay in PAUSED state, the new jpeg should be displayed by the sink and then block in wait_preroll() and EOS shouldn't pass.

Replacing glimagesink by xvimagesink makes that test case pass.
Comment 1 Xavier Claessens 2016-05-04 19:44:50 UTC
Ok, maybe my fault, I have to add:

  gst_pad_set_offset (src_pad, gst_element_get_start_time (ctx->pipeline));

Otherwise glupload's base_transform decides to drop that DISCONT buffer.