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 698376 - rtsp-media: media_prepare/media_unprepare are not eachothers reverse
rtsp-media: media_prepare/media_unprepare are not eachothers reverse
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
git master
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-04-19 15:49 UTC by Ognyan Tonchev (redstar_)
Modified: 2014-02-25 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch which solves the problem. Introduces unit tests as well. (11.31 KB, patch)
2013-04-19 15:49 UTC, Ognyan Tonchev (redstar_)
none Details | Review

Description Ognyan Tonchev (redstar_) 2013-04-19 15:49:01 UTC
Created attachment 241927 [details] [review]
Patch which solves the problem. Introduces unit tests as well.

media_prepare/media_unprepare are not eachothers reverse. Currently it is not possible to prepare a media which was previously unprepared.
Comment 1 Wim Taymans 2013-04-22 15:37:56 UTC
I comited most of this after splitting it up. I changed the way how the dynamic payloaders were removed by using the pad-removed signal.
Comment 2 Wim Taymans 2013-04-23 09:42:14 UTC
Add some more fixes and unit test in git, I think it should work now.