The problem probably isn't related to QSocketNotifier.

I hacked my code to immediately enqueue after each dequeue. With this change, it streamed for several hours without hanging. This is using the same code that binds the activated (type = read) signal from a QTSocketNotifier to a slot to do the xioctl to dequeue the frame.

So, I conclude that the issue isn't related to my use of QSocketNotifier.

I also tried sleeping two seconds after each dequeue, then enqueing. So far,no hang, but it will have to run much longer to get a lot of frames through.