After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681562 - Issue setting "video-source" property on wrappercamerabinsrc
Issue setting "video-source" property on wrappercamerabinsrc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.0.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 685057
 
 
Reported: 2012-08-09 22:31 UTC by Andre Moreira Magalhaes
Modified: 2012-09-28 15:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andre Moreira Magalhaes 2012-08-09 22:31:56 UTC
Setting the "video-source" property on wrappercamerabinsrc only works the first time the pipeline is put to PLAYING. Setting the pipeline state to NULL again and trying to set "video-source" won't have any effect.
Comment 1 Tim-Philipp Müller 2012-08-14 09:18:23 UTC
Don't see anything obviously wrong in the code right now.

Do you have a small test case for this by any chance, or could you make a patch ?
Comment 2 Thiago Sousa Santos 2012-09-28 03:18:58 UTC
commit 8c8d1a0b6be84381e98ec7b216c36e0154f88300
Author: Thiago Santos <thiago.sousa.santos@collabora.com>
Date:   Fri Sep 28 00:06:45 2012 -0300

    wrappercamerabinsrc: change video-source if the user requested
    
    When going from null to ready, check if the user requested to
    use a new source and replace the current one.
    
    Fixes #681562
Comment 3 Andre Moreira Magalhaes 2012-09-28 15:25:04 UTC
(In reply to comment #2)
> commit 8c8d1a0b6be84381e98ec7b216c36e0154f88300
> Author: Thiago Santos <thiago.sousa.santos@collabora.com>
> Date:   Fri Sep 28 00:06:45 2012 -0300
> 
>     wrappercamerabinsrc: change video-source if the user requested
> 
>     When going from null to ready, check if the user requested to
>     use a new source and replace the current one.
> 
>     Fixes #681562

Patch tested and working as expected, tnx.