public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] Problem with libdvben50221
@ 2008-12-13 16:49 Brice DUBOST
  0 siblings, 0 replies; only message in thread
From: Brice DUBOST @ 2008-12-13 16:49 UTC (permalink / raw)
  To: linux-dvb

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,



-- 
Brice

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-13 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-13 16:49 [linux-dvb] Problem with libdvben50221 Brice DUBOST

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox