On Mon, 16 Sep 2013, Luca Barbato wrote:
On 16/09/13 11:22, Martin Storsjö wrote:
I think it would be better for the code clarity to add a new state for
this situation, instead of reusing the publishing state. We already have
3 different states for playing, publishing and receiving, so this would
be 'serving' or something like that? I guess it needs to be added to a
few of the existing cases where we check for the publishing state.
I'm not so sure about it, the "state" is used to mark a specific
behaviour that happens to match both publishing and serving (as in
sending content).
Possibly renaming it so it isn't misleading would be better.
let me know.
Well, the same is true for "playing" and "receiving" as well - in general
they're pretty much the same but we might want to differentiate between
them in some cases, so I'd rather have a separate state for it just in
case.
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel