Skip to content

Instantly share code, notes, and snippets.

View ionoy's full-sized avatar

Mihhail Maslakov ionoy

  • Estonia
View GitHub Profile
gst-launch -v gstrtpbin name=rtpbin latency=200 udpsrc multicast-group='224.1.1.1' auto-multicast=true port=5000 caps=application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,sprop-parameter-sets=(string)\"Z2QAKK2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprQFweyAAA\\=\\=\\,aO48sAA\\=\" ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! h264parse ! ffdec_h264 ! d3dvideosink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not get/set
settings from/on resource.
Additional debug info:
..\..\..\..\..\Source\gst-plugins-good\gst\udp\gstudpsrc.c(953): gst_udpsrc_star
t (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
bind failed -1: No error (0)
.ctor
var f1 = function (letters) { };
f1(_NW$_self.Children);
var a1_8294 = Enumerable.from(_NW$_self.Children).where(function (c) { return (c === "a") });
var enumerator_8458 = Enumerable.from(_NW$_self.Children2).select(function (c) { return c.toString().toString().concat("1") }).getEnumerator();
var loop = function () { "Not implemented: Match " };
try {
loop()
} finally {
var _N_T_temp_var_4;
{DEBUG_INFO(DEBUG_INFO(def a1 = System.Linq.Enumerable.Where.[char] (_N_closurised_this_ptr.Children, System.Func[char, bool] (macro_Nemerle.Core._N_operator905413823_4554Macro:
def _N_lambda__8285(c : char) : bool
{
DEBUG_INFO((c == 'a'))
}
_N_lambda__8285));
());
DEBUG_INFO(macro_Nemerle.Core.foreachMacro:
def enumerator = DEBUG_INFO(System.Linq.Enumerable.Select.[char, string-] (_N_closurised_this_ptr.Children2, System.Func[char, string-] (macro_Nemerle.Core._N_operator905413823_4554Macro:
def _N_lambda__8291(c : char) : string-
match (fun_header.body)
{
| FunBody.Parsed =>
def typer = Manager.ComponentsFactory.CreateTyper (this);
typer.BeforeStage1 = (a, b) => {
CurrentTypeBuilder.OnBeforeStage1(a, b);
}
typer.BeforeStage2 = (a, b) => {
CurrentTypeBuilder.OnBeforeStage2(a, b);
c:\dev\nemerle\misc\packages\wix\nemerle.wixproj(177,5): error MSB3021: Unable
to copy file "c:\dev\nemerle\bin\Release\net-4.5\\Installer\\NemerleSetup-net-4
.5-v1.1.1077.0-net-4.5-v1.1.1097.0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.
5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v
1.2.166.0-net-4.5-v1.2.167.0.wixpdb" to "c:\dev\nemerle\bin\Release\net-4.5\\In
staller\\NemerleSetup-net-4.5-v1.1.1077.0-net-4.5-v1.1.1097.0-net-4.5-v1.2.166.
0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v1.2.166.0-n
et-4.5-v1.2.166.0-net-4.5-v1.2.166.0-net-4.5-v1.2.167.0-net-4.5-v1.2.168.0.wixp
db". The specified path, file name, or both are too long. The fully qualified f
ile name must be less than 260 characters, and the directory name must be less
_NW$_self.__nweb_meta = {
properties: [{ name: "SelectedUrl", attrs: [''] },{ name: "ActiveNodes", attrs: [''] },{ name: "Search", attrs: [''] },{ name: "Pinned", attrs: [''] },{ name: "Root", attrs: [''] }],
fields: [{ name: "_splitterAdded", attrs: [''] },{ name: "_N_SelectedUrl_9968", attrs: ['System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)','System.Runtime.CompilerServices.CompilerGenerated'] },{ name: "_N_ActiveNodes_9961", attrs: ['System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)','System.Runtime.CompilerServices.CompilerGenerated'] },{ name: "_N_Search_9954", attrs: ['System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)','System.Runtime.CompilerServices.CompilerGenerated'] },{ name: "_N_Pinned_9947", attrs: ['System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)','System.Runtime.CompilerServices.CompilerGenerated'] },{ name: "_N_Root_9938", attrs:
@ionoy
ionoy / gist:7040729
Last active December 25, 2015 21:09
queue.Enqueue(data)
producer.OnNext(true)
producer.ObserveOn(Scheduler.NewThread).Subscribe(_ => {
T res;
if(queue.TryDequeue(out res)) {
work(res);
}
});
Subject<Data> DataStream { get; set; }
Producer(data) {
DataStream.OnNext(data);
}
DataStream.Where(...)
.ObserveOn(NewThreadScheduler)
.Subscribe(...)
var rotating = from c1 in mouseClick
let originalValue = model.Value
from move in _mouseMove.TakeUntil(mouseClick)
select new {
originalValue,
downPos = c1.pos,
movePos = move.EventArgs.GetPosition(this)
};
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\CompListPage.n(8,4): warning : hint: CompListPage: 242ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_1_Introduction.n(5,12): warning : hint: IntroductionPage: 13ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_2_ListsAndCollections.n(7,4): warning : hint: ListsAndCollectionsPage: 42ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_3_SinglePageApps.n(8,6): warning : hint: SPAPage: 10ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_3_SinglePageApps.n(11,18): warning : hint: Mail: 1ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_3_SinglePageApps.n(23,18): warning : hint: FolderData: 1ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Knockout\Tutorial_5_LoadingAndSaving.n(8,4): warning : hint: LoadingAndSavingPage: 26ms
C:\dev\open-source\NemerleWeb\NemerleWeb.Samples\MVVM\Peg\CalculatorPage.n(9,4): warning : hint: Calculat