Skip to contentSkip to conversation

Problem with libdvben50221

linux-dvb Brice DUBOST 1 participant 1 message Dec 13, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello

I'm currently playing around with the libdvben50221 I started from the code of gnutv and zap_ca It works very well but I have one problem.

When I close the cam my program is freezed when I do :

cam_params->stdcam->destroy(cam_params->stdcam, 1);

cam_params is a structure wich contains my cam parameters

I looked a bit more in the code and I discover that the freezing point is :
pthread_mutex_lock(&tl->slots[slot_id].slot_lock);

I give you some manual backtrace :
en50221_tl_destroy_slot(llci->tl, llci->tl_slot_id); llci_cam_removed(llci);
static void en50221_stdcam_llci_destroy(struct en50221_stdcam *stdcam,
int closefd)

Gnutv does not experience this freezing.

Do you have an idea of what can it be ?

Regards,

Signature · 3 lines
Brice

A: Yes.
Quoted 3 lines

Q: Are you sure?

Quoted 2 lines

A: Because it reverses the logical flow of conversation.

Quoted 1 line

Q: Why is top posting annoying in email?

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb