Re: [dev] [surf] freeze with gstreamer error

2017-06-01 Thread Greg Reagle
On Tue, May 30, 2017, at 12:26, Quentin Rameau wrote:
> Yes, set MediaManualPlay to 1.
> I think I'll push it as a default.

I agree.  I am in favor of the default behavior being manual play of
media.



Re: [dev] [surf] freeze with gstreamer error

2017-05-30 Thread Albert Cardona
2017-05-30 12:26 GMT-04:00 Quentin Rameau :
> Hi Albert,
>
>> In web pages such as twitter.com, the following gstreamer errors
>> occur. The second one freezes surf.
>>
>> (WebKitWebProcess:31459): GStreamer-CRITICAL **:
>> Trying to dispose element webkitwebsrc0, but it is in PAUSED instead
>> of the NULL state.
>> You need to explicitly set elements to the NULL state before
>> dropping the final reference, to allow them to clean up.
>> This problem may also be caused by a refcounting bug in the
>> application or some element.
>>
>> (WebKitWebProcess:31459): GStreamer-CRITICAL **:
>> gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed
>
> I don't really know, that's a webkit bug, surf doesn't handle video
> playback.


For the record, uninstalling the gstreamer1.0-plugins-bad package
solves this issue in Ubuntu 16.04:

$ sudo apt-get remove gstreamer1.0-plugins-bad

Albert



Re: [dev] [surf] freeze with gstreamer error

2017-05-30 Thread ssd
* Quentin Rameau 2017-05-30 18:27
> Yes, set MediaManualPlay to 1.
> I think I'll push it as a default.

useful, thanks to Quentin and Albert!



Re: [dev] [surf] freeze with gstreamer error

2017-05-30 Thread Quentin Rameau
Hi Albert,

> In web pages such as twitter.com, the following gstreamer errors
> occur. The second one freezes surf.
> 
> (WebKitWebProcess:31459): GStreamer-CRITICAL **:
> Trying to dispose element webkitwebsrc0, but it is in PAUSED instead
> of the NULL state.
> You need to explicitly set elements to the NULL state before
> dropping the final reference, to allow them to clean up.
> This problem may also be caused by a refcounting bug in the
> application or some element.
> 
> (WebKitWebProcess:31459): GStreamer-CRITICAL **:
> gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed

I don't really know, that's a webkit bug, surf doesn't handle video
playback.

> Is there any mitigating strategy different than running with the -s
> flag to disable javascript to prevent video autoplay (a dreadful
> feature on itself, would be nice to disable it)?
> 
> To note that running with -p to disable plugins does not seem to
> prevent video from playing.

Yes, set MediaManualPlay to 1.
I think I'll push it as a default.

> Thanks,
> 
> Albert
> 

De nada,

Quentin



[dev] [surf] freeze with gstreamer error

2017-05-30 Thread Albert Cardona
In web pages such as twitter.com, the following gstreamer errors
occur. The second one freezes surf.

(WebKitWebProcess:31459): GStreamer-CRITICAL **:
Trying to dispose element webkitwebsrc0, but it is in PAUSED instead
of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.

(WebKitWebProcess:31459): GStreamer-CRITICAL **:
gst_mini_object_unref: assertion 'mini_object->refcount > 0' failed


Is there any mitigating strategy different than running with the -s
flag to disable javascript to prevent video autoplay (a dreadful
feature on itself, would be nice to disable it)?

To note that running with -p to disable plugins does not seem to
prevent video from playing.

Thanks,

Albert