Re: gstmm add element to pipeline test



Murray Cumming wrote:
On Thu, 2007-12-06 at 12:16 -0500, José Alburquerque wrote:
According to the documentation, add_signal_watch[_full] can be called more than once (several times), but remove_signal_watch must be called the same number of times. By testing I found that the following error is produced if remove_signal_watch is called "once" too often (in other words, it cannot be called unless an add_signal_watch[_full] was called before):

Yes, but what does that do? Do I get the signals more than once? Why
would I want that? Maybe you could ask the gstreamer people.

What happens is that the signal is only emitted once no matter how many times add_signal_watch is called. However, unless remove_signal_watch is called the same number of times it appears that a reference to the Bus is kept and the Bus will not be destroyed.

-Jose


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]