[Webkit-unassigned] [Bug 29842] [GTK] data: uri support in media player

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 1 00:46:42 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29842





--- Comment #11 from Sebastian Dröge <slomo at circular-chaos.org>  2009-10-01 00:46:43 PDT ---
(In reply to comment #10)
> > +
> > +    switch (transition) {
> > +    case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
> > +    case GST_STATE_CHANGE_PAUSED_TO_READY:
> > +    case GST_STATE_CHANGE_READY_TO_NULL:
> > +        break;
> > +    default:
> > +        break;
> > +    }
> 
> This switch seems pointless?

It makes sure that people add code at the correct position in the future.
Downwards state change code should be after chaining up to the parent class
while upwards state change code should be before.

(But yes, other than that it's useless)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list