Cool! Now it is clear what it does and how it works. A couple of questions, as usual:
Examine the resulting _AVbinPacket<http://avbin.github.com/docs/struct___a_vbin_packet.html> structure > for the stream_index, which indicates how the packet should be decoded. > If the stream is not one that you have opened, you can discard the packet > and continue with step 1 again. Does stream_index really meant to decide how the packet should be decoded? Maybe you've meant that "file may contain multiple parallel streams, so you need to examine stream_index value in resulting _AVbinPacket structure to discard irrelevant packets". And then, "depending on the type of stream" - BTW, *is there a straightforward way to determine the type of stream?* - and then "depending on the type of stream, call either decode_audio() or decode_video() function. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pyglet-users/-/xOWkFkkbbgMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
