title: Configuring pocketsphinx gstreamer element
body: <p>I have pocketsphinx running as an element inside a python gstreamer pipeline, something along the lines of:</p>
  
  <pre><code>launch_config = 'gconfaudiosrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ! pocketsphinx name=asr ! fakesink'
  pipeline = gst.parse_launch(launch_config)
  </code></pre>
  
  <p>Using <code>gst-inspect</code>, I can see the pocketsphinx element has several properties (such as a language model file and dictionary file), but that these are <em>separate</em> from command-line options you might normally pass to the executable.</p>
  
  <p>I would like to change the log file that pocketsphinx uses, but this is only an option to <code>gst-pocketsphinx</code>, not the <code>pocketsphinx</code> gstreamer element.</p>
  
  <pre><code>$ gst-inspect-0.10 pocketsphinx
  INFO: cmd_ln.c(691): Parsing command line:
  
  gst-pocketsphinx \
      -samprate 8000 \
      -cmn prior \
      -fwdflat no \
      -bestpath no \
      -maxhmmpf 2000 \
      -maxwpf 20 
  
  Current configuration:
  [NAME]      [DEFLT]     [VALUE]
  &lt;snip&gt;
  -logfn              
  </code></pre>
  
  <p>How can I pass the <code>logfn</code> argument to the pocketsphinx gstreamer element?</p>