Duplicate timestamps observed using rtspsrc

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Duplicate timestamps observed using rtspsrc

logidelic
I have a pipeline as follows:

rtspsrc -> depay -> parse -> decode -> videoconvert -> appsink

I am setting the new_sample callback on appsink to get notified about new samples, at which point I use gst_app_sink_pull_sample to pull the sample.

Everything works well, but I've observed that sometimes, at least for some setups (the difference of which I haven't yet figured out), I will sometimes pull a sample with the exact same GST_BUFFER_PTS as the previous sample.

Is this normal/acceptable/possible? What might lead such a thing to happen?

For some setups I haven't seen this at all, while for others the pipeline is littered with many thousands of these duplicates in some time...

Any suggestions would be appreciated!

- Bill

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel