projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8425ea6
)
rtsp-media: Only signal "new-state" if the state has actually changed
author
Neha Arora
<arora.neha@samsung.com>
Thu, 10 Nov 2016 05:16:00 +0000
(
05:16
+0000)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 10 Nov 2016 11:16:23 +0000
(13:16 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=774173
gst/rtsp-server/rtsp-media.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index 349311aced5147fd874613e34d47b5767e157fc4..52e6757ee7d7bc3154879c54068ec29d2dd0bcf0 100644
(file)
--- a/
gst/rtsp-server/rtsp-media.c
+++ b/
gst/rtsp-server/rtsp-media.c
@@
-3845,11
+3845,11
@@
gst_rtsp_media_set_state (GstRTSPMedia * media, GstState state,
media, do_state);
if (priv->target_state != state) {
- if (do_state)
+ if (do_state)
{
media_set_pipeline_state_locked (media, state);
-
- g_signal_emit (media, gst_rtsp_media_signals[SIGNAL_NEW_STATE], 0, state,
- NULL);
+ g_signal_emit (media, gst_rtsp_media_signals[SIGNAL_NEW_STATE], 0, state,
+ NULL);
+ }
}
/* remember where we are */