On Sat, 14 May 2016, Luca Barbato wrote:
On 14/05/16 20:32, Martin Storsjö wrote:
.
What I try to mean is "sync point" == keyframe, "parse point" == any
packet boundary, opaque == anything/random/unknown (e.g. if a packet is
cut into multiple write callbacks due to a too small IO buffer, or if
the muxer doesn't mark anything).
Most users probably only want to know about keyframes, but some users
might want to know of all packet/fragment boundaries.
What about using SYNC_POINT, BOUNDARY_POINT and UNKNOWN ?
That's also an option.
"Unknown" is almost perfect; what I want to tell with that one is that
it's most probably not a resync point, although it might be. (Either for
muxers that don't export anything at all, or for muxers that might not
choose to mark exactly every point.)
// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel